mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
4634f9737d
commit
ebabaedd67
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user