X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fhostapd%2FMakefile;h=7070afd6ef8193dccf16968540cf65b681f953ef;hb=c01d2112590adfea2c29b901c6dafd11a199c5c2;hp=f00472ac53a053588532b3a547dfa4feebc3f286;hpb=8aa91b167f50336593a7612fea60786e21f87562;p=openwrt%2F.git 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