summaryrefslogtreecommitdiff
path: root/package/wpa_supplicant
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-04-03 16:51:28 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-04-03 16:51:28 +0200
commit41db567455a283a26e9fda82a5da3d44288122f3 (patch)
tree62c341e4a2e5a4b29895f57d9a4922267a3414c7 /package/wpa_supplicant
parentb069eb70c6d83110589c5331c568f35af66926c6 (diff)
update libnl to 3.2
Diffstat (limited to 'package/wpa_supplicant')
-rw-r--r--package/wpa_supplicant/Makefile1
-rw-r--r--package/wpa_supplicant/patches/patch-src_drivers_drivers_mak15
2 files changed, 16 insertions, 0 deletions
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile
index 92d03f270..580d27af2 100644
--- a/package/wpa_supplicant/Makefile
+++ b/package/wpa_supplicant/Makefile
@@ -32,6 +32,7 @@ $(eval $(call PKG_template,WPA_SUPPLICANT,wpa-supplicant,${PKG_VERSION}-${PKG_RE
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/libnl3
MAKE_FLAGS+= CPPFLAGS='${TARGET_CPPFLAGS}' \
LDFLAGS='${TARGET_LDFLAGS}' \
diff --git a/package/wpa_supplicant/patches/patch-src_drivers_drivers_mak b/package/wpa_supplicant/patches/patch-src_drivers_drivers_mak
new file mode 100644
index 000000000..6f9bfd704
--- /dev/null
+++ b/package/wpa_supplicant/patches/patch-src_drivers_drivers_mak
@@ -0,0 +1,15 @@
+--- wpa_supplicant-0.7.3.orig/src/drivers/drivers.mak 2010-09-07 17:43:39.000000000 +0200
++++ wpa_supplicant-0.7.3/src/drivers/drivers.mak 2012-04-03 16:08:09.000000000 +0200
+@@ -31,10 +31,10 @@ NEED_SME=y
+ 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