use the static version of libnl for hostapd
authorFelix Fietkau <nbd@openwrt.org>
Fri, 16 Nov 2007 03:11:39 +0000 (03:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 16 Nov 2007 03:11:39 +0000 (03:11 +0000)
SVN-Revision: 9562

package/hostapd/Makefile

index d7910737b69a01cc777b3413ea3c9c72c6bef48d..34dbfe2f6f8c66bdbeb446535a13619f42a8f4df 100644 (file)
@@ -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