From 6f4939d4c5624681bd7c0cbb92462f3d3fb941c3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 6 May 2010 13:32:14 -0300 Subject: hostapd: Fix build with external toolchain Closes #1717 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/hostapd/hostapd.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'package') diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 5c5c1e300..2359fd348 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -20,6 +20,7 @@ $(HOSTAPD_TARGET_CONFIGURE): cp $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/defconfig $(HOSTAPD_CONFIG) $(SED) "s/\/local//" $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/Makefile echo "CFLAGS += $(TARGET_CFLAGS)" >>$(HOSTAPD_CONFIG) + echo "LDFLAGS += $(TARGET_LDFLAGS)" >>$(HOSTAPD_CONFIG) echo "CC = $(TARGET_CC)" >>$(HOSTAPD_CONFIG) # IPv6 ifneq ($(BR2_INET_IPV6),y) -- cgit v1.2.3