From: Zachery Stoddard <zacherystodd...@gmail.com> This patch fixes compilation failure for hostapd when using eglibc 2.15. Patch is for BB but similar logic is required to get hostapd to compile in AA.
Signed-off-by: Zachery Stoddard <zacherystodd...@gmail.com> --- diff --git a/package/network/services/hostapd/Makefile /package/network/services/hostapd/Makefile index 1a6b429..629d909 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
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel