mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Allow linking with libnl-3 (libnl 3.2 and newer)
I needed this patch to compile against the latest libnl code. I added this to my config file: CONFIG_LIBNL32=y Signed-hostap: Ben Greear <greearb@candelatech.com>
This commit is contained in:
parent
d58ed4e306
commit
300ab0556c
@ -26,15 +26,22 @@ NEED_AP_MLME=y
|
||||
NEED_NETLINK=y
|
||||
NEED_LINUX_IOCTL=y
|
||||
NEED_RFKILL=y
|
||||
ifdef CONFIG_LIBNL_TINY
|
||||
DRV_LIBS += -lnl-tiny
|
||||
else
|
||||
DRV_LIBS += -lnl
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBNL20
|
||||
DRV_LIBS += -lnl-genl
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
ifdef CONFIG_LIBNL32
|
||||
DRV_LIBS += -lnl-3
|
||||
DRV_LIBS += -lnl-genl-3
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
else
|
||||
ifdef CONFIG_LIBNL_TINY
|
||||
DRV_LIBS += -lnl-tiny
|
||||
else
|
||||
DRV_LIBS += -lnl
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBNL20
|
||||
DRV_LIBS += -lnl-genl
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -26,15 +26,22 @@ NEED_AP_MLME=y
|
||||
NEED_NETLINK=y
|
||||
NEED_LINUX_IOCTL=y
|
||||
NEED_RFKILL=y
|
||||
ifdef CONFIG_LIBNL_TINY
|
||||
DRV_LIBS += -lnl-tiny
|
||||
else
|
||||
DRV_LIBS += -lnl
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBNL20
|
||||
DRV_LIBS += -lnl-genl
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
ifdef CONFIG_LIBNL32
|
||||
DRV_LIBS += -lnl-3
|
||||
DRV_LIBS += -lnl-genl-3
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
else
|
||||
ifdef CONFIG_LIBNL_TINY
|
||||
DRV_LIBS += -lnl-tiny
|
||||
else
|
||||
DRV_LIBS += -lnl
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBNL20
|
||||
DRV_LIBS += -lnl-genl
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user