From f891f24ebe9412aab1fd6ad67798e2441ee9c7da Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 16 Nov 2007 03:11:39 +0000 Subject: [PATCH] use the static version of libnl for hostapd SVN-Revision: 9562 --- package/hostapd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2