Author: nbd
Date: 2015-09-11 18:31:18 +0200 (Fri, 11 Sep 2015)
New Revision: 46851

Modified:
   trunk/package/network/services/hostapd/Makefile
Log:
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 <[email protected]>

Modified: trunk/package/network/services/hostapd/Makefile
===================================================================
--- trunk/package/network/services/hostapd/Makefile     2015-09-11 16:31:01 UTC 
(rev 46850)
+++ trunk/package/network/services/hostapd/Makefile     2015-09-11 16:31:18 UTC 
(rev 46851)
@@ -177,7 +177,7 @@
 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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to