aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/iw
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/iw')
-rw-r--r--recipes/iw/iw_0.9.20.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/iw/iw_0.9.20.bb b/recipes/iw/iw_0.9.20.bb
index 6645e2ef48..c01f85416c 100644
--- a/recipes/iw/iw_0.9.20.bb
+++ b/recipes/iw/iw_0.9.20.bb
@@ -5,12 +5,16 @@ PRIORITY = "optional"
LICENSE = "BSD"
PR = "r1"
-DEPENDS = "libnl pkgconfig"
+DEPENDS = "libnl2 pkgconfig"
SRC_URI = " \
http://wireless.kernel.org/download/iw/${P}.tar.bz2 \
file://kill-git-version-check.patch \
"
+# We stage libnl2 header files not directly as they clash with libnl files. Once
+# we only use libnl2 and stage the headers at the normal place we can remove
+# this.
+CFLAGS += "-I${STAGING_INCDIR}/libnl2/ -DCONFIG_LIBNL20"
do_compile() {
oe_runmake