summaryrefslogtreecommitdiffstats
path: root/package/hostapd/hostapd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/hostapd.mk')
-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 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)