aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2010-05-06 13:32:14 -0300
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-05-08 00:02:24 +0200
commit6f4939d4c5624681bd7c0cbb92462f3d3fb941c3 (patch)
tree1479d06867802131b31329c4fc0e43ed6b49639d /package
parentea0695ff5edff392603a77b9299833fbb399e429 (diff)
downloadbuildroot-6f4939d4c5624681bd7c0cbb92462f3d3fb941c3.tar.gz
buildroot-6f4939d4c5624681bd7c0cbb92462f3d3fb941c3.tar.bz2
hostapd: Fix build with external toolchain
Closes #1717 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/hostapd/hostapd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index 5c5c1e3009..2359fd3489 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)