From: Felix Fietkau Date: Mon, 24 Feb 2014 15:03:06 +0000 (+0000) Subject: hostapd: link against librt if eglibc is used X-Git-Tag: reboot~7810 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c01d2112590adfea2c29b901c6dafd11a199c5c2;p=openwrt%2Fstaging%2Fxback.git hostapd: link against librt if eglibc is used Signed-off-by: Felix Fietkau SVN-Revision: 39741 --- diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index f00472ac53..7070afd6ef 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -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