Commit 11f7a7b4 authored by Daniel Mack's avatar Daniel Mack Committed by Peter Korsgaard
Browse files

hostapd: fix build with new libnl-3



The CFLAGS have to be augmented for the include dir and a small patch
will make the binary link to libnl-3 and libnl-genl-3 instead of libnl
and libnl-gen.

Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 4f266b68
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
--- a/src/drivers/drivers.mak	2011-11-29 19:09:23.889942913 +0100
+++ b/src/drivers/drivers.mak	2011-11-29 19:09:40.637381428 +0100
@@ -31,10 +31,10 @@
 NEED_AP_MLME=y
 NEED_NETLINK=y
 NEED_LINUX_IOCTL=y
-DRV_LIBS += -lnl
+DRV_LIBS += -lnl-3
 
 ifdef CONFIG_LIBNL20
-DRV_LIBS += -lnl-genl
+DRV_LIBS += -lnl-genl-3
 DRV_CFLAGS += -DCONFIG_LIBNL20
 endif
 endif
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ endif

define HOSTAPD_LIBNL_CONFIG
	echo "CONFIG_LIBNL20=y" >>$(HOSTAPD_CONFIG)
	echo "CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3/" >>$(HOSTAPD_CONFIG)
endef

define HOSTAPD_CRYPTO_CONFIG