aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-24 15:03:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-02-24 15:03:06 +0000
commitc01d2112590adfea2c29b901c6dafd11a199c5c2 (patch)
tree990561b7a032beb28c1a05fb1265fe5cfa33aed5 /package/network
parent8aa91b167f50336593a7612fea60786e21f87562 (diff)
downloadupstream-c01d2112590adfea2c29b901c6dafd11a199c5c2.tar.gz
upstream-c01d2112590adfea2c29b901c6dafd11a199c5c2.tar.bz2
upstream-c01d2112590adfea2c29b901c6dafd11a199c5c2.zip
hostapd: link against librt if eglibc is used
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39741
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/Makefile4
1 files changed, 4 insertions, 0 deletions
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