From: nbd Date: Fri, 11 Sep 2015 16:31:18 +0000 (+0000) Subject: hostapd: work around unconditional libopenssl build dependency X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=e5f292e7aca03a8d2b38f21230e8d47e3b9c6176;p=openwrt.git hostapd: work around unconditional libopenssl build dependency As the OpenWrt build system only resolves build dependencies per directory, all hostapd variants were causing libopenssl to be downloaded and built, not only wpad-mesh. Fix this by applying the same workaround as in ustream-ssl. Signed-off-by: Matthias Schiffer git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46851 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index c16cb11294..c39b6b410d 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -177,7 +177,7 @@ endef define Package/wpad-mesh $(call Package/wpad/Default) TITLE+= (with 802.11s mesh and SAE support) - DEPENDS:=$(DRV_DEPENDS) +libubus +libopenssl +@CONFIG_WPA_SUPPLICANT_OPENSSL @(!TARGET_uml||BROKEN) + DEPENDS:=$(DRV_DEPENDS) +libubus +PACKAGE_wpad-mesh:libopenssl +@CONFIG_WPA_SUPPLICANT_OPENSSL @(!TARGET_uml||BROKEN) CONFLICTS:=@WPA_SUPPLICANT_INTERNAL VARIANT:=wpad-mesh endef