summaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-27 18:30:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-27 18:30:50 +0000
commite795250a1e2a77f3d0bfceeb56a5e07ed99b60ea (patch)
tree014bf21598b8c5899029cc8c2824b5c41159f471 /package/network/services/hostapd/Makefile
parent7e34e45dcf686b66437890bbfc9488238a989862 (diff)
downloadmtk-20170518-e795250a1e2a77f3d0bfceeb56a5e07ed99b60ea.zip
mtk-20170518-e795250a1e2a77f3d0bfceeb56a5e07ed99b60ea.tar.gz
mtk-20170518-e795250a1e2a77f3d0bfceeb56a5e07ed99b60ea.tar.bz2
hostapd: fix eglibc 2.15 support
This patch fixes compilation failure for hostapd when using eglibc 2.15. Signed-off-by: Zachery Stoddard <zacherystoddard@gmail.com> SVN-Revision: 40575
Diffstat (limited to 'package/network/services/hostapd/Makefile')
-rw-r--r--package/network/services/hostapd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 2e8eae2..80e0082 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -88,6 +88,7 @@ endif
ifdef CONFIG_USE_EGLIBC
TARGET_LDFLAGS += -lrt
+ TARGET_LDFLAGS_C += -lrt
endif
DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny @(!TARGET_avr32||BROKEN)
@@ -267,7 +268,7 @@ define Build/RunMake
$(TARGET_CONFIGURE_OPTS) \
$(DRIVER_MAKEOPTS) \
LIBS="$(TARGET_LDFLAGS)" \
- LIBS_c="" \
+ LIBS_c="$(TARGET_LDFLAGS_C)" \
BCHECK= \
$(2)
endef