hostapd: link against librt if eglibc is used

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39741
This commit is contained in:
Felix Fietkau 2014-02-24 15:03:06 +00:00
parent 8aa91b167f
commit c01d211259

View file

@ -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