diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-27 18:30:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-27 18:30:50 +0000 |
commit | ebabaedd6762c0d3e9fe4bece79d3707b9d6d9fe (patch) | |
tree | 8ed1f06787db22a3311e8a393a04fde7421d470d /package/network/services | |
parent | 4634f9737d6ba68ad53e4b243fceb9eedba2b8a6 (diff) | |
download | master-187ad058-ebabaedd6762c0d3e9fe4bece79d3707b9d6d9fe.tar.gz master-187ad058-ebabaedd6762c0d3e9fe4bece79d3707b9d6d9fe.tar.bz2 master-187ad058-ebabaedd6762c0d3e9fe4bece79d3707b9d6d9fe.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/hostapd/Makefile | 3 |
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 |