hostapd: link against librt if eglibc is used
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39741
This commit is contained in:
parent
8aa91b167f
commit
c01d211259
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue