mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
use the static version of libnl for hostapd
SVN-Revision: 9562
This commit is contained in:
parent
3981c55a6a
commit
11feaad40a
@ -82,7 +82,7 @@ define Build/CompileTarget
|
|||||||
$(MAKE) -C $(PKG_BUILD_DIR)/hostapd.$(1) \
|
$(MAKE) -C $(PKG_BUILD_DIR)/hostapd.$(1) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
LIBS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib \
|
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
|
hostapd hostapd_cli
|
||||||
$(CP) $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd_cli $(PKG_BUILD_DIR)/
|
$(CP) $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd_cli $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user