summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:11:39 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:11:39 +0000
commit1296caad8597596df758847814a657905e6299e2 (patch)
tree5503939fc5ab8512f03d7322844984df061391bf /package/hostapd/Makefile
parentee803fa2351a7d592571a194f527d48f80ad86ef (diff)
use the static version of libnl for hostapd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9562 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d7910737b6..34dbfe2f6f 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