mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
hostapd: link against librt if eglibc is used
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39741 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -86,6 +86,10 @@ ifneq ($(LOCAL_TYPE),hostapd)
|
||||
CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_USE_EGLIBC
|
||||
TARGET_LDFLAGS += -lrt
|
||||
endif
|
||||
|
||||
DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny @(!TARGET_avr32||BROKEN)
|
||||
|
||||
define Package/hostapd/Default
|
||||
|
||||
Reference in New Issue
Block a user