Procházet zdrojové kódy

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]>

SVN-Revision: 46851
Felix Fietkau před 10 roky
rodič
revize
3adce75a67
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      package/network/services/hostapd/Makefile

+ 1 - 1
package/network/services/hostapd/Makefile

@@ -177,7 +177,7 @@ endef
 define Package/wpad-mesh
 define Package/wpad-mesh
 $(call Package/wpad/Default)
 $(call Package/wpad/Default)
   TITLE+= (with 802.11s mesh and SAE support)
   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
   CONFLICTS:=@WPA_SUPPLICANT_INTERNAL
   VARIANT:=wpad-mesh
   VARIANT:=wpad-mesh
 endef
 endef