aboutsummaryrefslogtreecommitdiffstats
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
parent7e34e45dcf686b66437890bbfc9488238a989862 (diff)
downloadupstream-e795250a1e2a77f3d0bfceeb56a5e07ed99b60ea.tar.gz
upstream-e795250a1e2a77f3d0bfceeb56a5e07ed99b60ea.tar.bz2
upstream-e795250a1e2a77f3d0bfceeb56a5e07ed99b60ea.zip
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
-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 2e8eae2069..80e00823fe 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