aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-03-26 10:00:34 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-26 10:02:34 (GMT)
commit87faf1f22cbae40491278257ce575bfc22e84f4e (patch)
tree50e257a69a15b281ff15779911e6f6e5c9d1c8a1
parent31afdd227438e1c927f3b5c70c0c366ceb95eec8 (diff)
downloadhostap-87faf1f22cbae40491278257ce575bfc22e84f4e.zip
hostap-87faf1f22cbae40491278257ce575bfc22e84f4e.tar.gz
hostap-87faf1f22cbae40491278257ce575bfc22e84f4e.tar.bz2
nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y
libnl-tiny does not use the separate nl-genl library. Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--src/drivers/drivers.mak4
-rw-r--r--src/drivers/drivers.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak
index c4f5f97..c1bfff1 100644
--- a/src/drivers/drivers.mak
+++ b/src/drivers/drivers.mak
@@ -63,7 +63,9 @@ else
endif
ifdef CONFIG_LIBNL20
- DRV_LIBS += -lnl-genl
+ ifndef CONFIG_LIBNL_TINY
+ DRV_LIBS += -lnl-genl
+ endif
DRV_CFLAGS += -DCONFIG_LIBNL20
endif
endif
diff --git a/src/drivers/drivers.mk b/src/drivers/drivers.mk
index 0a05a24..0444e52 100644
--- a/src/drivers/drivers.mk
+++ b/src/drivers/drivers.mk
@@ -51,7 +51,9 @@ else
endif
ifdef CONFIG_LIBNL20
- DRV_LIBS += -lnl-genl
+ ifndef CONFIG_LIBNL_TINY
+ DRV_LIBS += -lnl-genl
+ endif
DRV_CFLAGS += -DCONFIG_LIBNL20
endif
endif