From: Felix Fietkau Date: Sun, 27 Apr 2014 18:30:50 +0000 (+0000) Subject: hostapd: fix eglibc 2.15 support X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=3fb85de7656142437f41a96ef3a0bbdbb89c94da hostapd: fix eglibc 2.15 support This patch fixes compilation failure for hostapd when using eglibc 2.15. Signed-off-by: Zachery Stoddard SVN-Revision: 40575 --- 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