From: Jouni Malinen Date: Sat, 26 Mar 2016 10:00:34 +0000 (+0200) Subject: nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y X-Git-Tag: hostap_2_6~662 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87faf1f22cbae40491278257ce575bfc22e84f4e;p=thirdparty%2Fhostap.git nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y libnl-tiny does not use the separate nl-genl library. Signed-off-by: Jouni Malinen --- diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak index c4f5f9744..c1bfff1f3 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 0a05a2447..0444e5239 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