]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y
authorJouni Malinen <j@w1.fi>
Sat, 26 Mar 2016 10:00:34 +0000 (12:00 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 26 Mar 2016 10:02:34 +0000 (12:02 +0200)
libnl-tiny does not use the separate nl-genl library.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/drivers.mak
src/drivers/drivers.mk

index c4f5f974400a1152c558d25dca9391f06920174a..c1bfff1f3baec2ece5d01a647fcd26e4d1ed9575 100644 (file)
@@ -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
index 0a05a244741eac516a004e8ea143b2f92cb9f20b..0444e52390249827ca082651daa96a5713e49497 100644 (file)
@@ -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