summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-16 03:11:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-16 03:11:39 +0000
commit11feaad40ab4f13cd8440a918f953ca730571cca (patch)
treee61833e246d135a9b29653b7e3202305df658dd9 /package/hostapd/Makefile
parent3981c55a6a300dc9109776623488a7bba5078069 (diff)
downloadmtk-20170518-11feaad40ab4f13cd8440a918f953ca730571cca.zip
mtk-20170518-11feaad40ab4f13cd8440a918f953ca730571cca.tar.gz
mtk-20170518-11feaad40ab4f13cd8440a918f953ca730571cca.tar.bz2
use the static version of libnl for hostapd
SVN-Revision: 9562
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index d791073..34dbfe2 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -82,7 +82,7 @@ define Build/CompileTarget
$(MAKE) -C $(PKG_BUILD_DIR)/hostapd.$(1) \
$(TARGET_CONFIGURE_OPTS) \
LIBS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib \
- $(if $(wildcard $(STAGING_DIR)/usr/include/mac80211/*),-lnl)" \
+ $(if $(wildcard $(STAGING_DIR)/usr/include/mac80211/*),-lm $(STAGING_DIR)/usr/lib/libnl.a)" \
hostapd hostapd_cli
$(CP) $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd_cli $(PKG_BUILD_DIR)/
endef