mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-03 12:54:38 +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> SVN-Revision: 40575
This commit is contained in:
parent
7e34e45dcf
commit
e795250a1e
@ -88,6 +88,7 @@ endif
|
|||||||
|
|
||||||
ifdef CONFIG_USE_EGLIBC
|
ifdef CONFIG_USE_EGLIBC
|
||||||
TARGET_LDFLAGS += -lrt
|
TARGET_LDFLAGS += -lrt
|
||||||
|
TARGET_LDFLAGS_C += -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny @(!TARGET_avr32||BROKEN)
|
DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny @(!TARGET_avr32||BROKEN)
|
||||||
@ -267,7 +268,7 @@ define Build/RunMake
|
|||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
$(DRIVER_MAKEOPTS) \
|
$(DRIVER_MAKEOPTS) \
|
||||||
LIBS="$(TARGET_LDFLAGS)" \
|
LIBS="$(TARGET_LDFLAGS)" \
|
||||||
LIBS_c="" \
|
LIBS_c="$(TARGET_LDFLAGS_C)" \
|
||||||
BCHECK= \
|
BCHECK= \
|
||||||
$(2)
|
$(2)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user