0021-hostapd-work-around-unconditional-libopenssl-build-dependency.patch 1.0 KB

12345678910111213141516171819202122
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Fri, 28 Aug 2015 10:46:11 +0200
  3. Subject: hostapd: work around unconditional libopenssl build dependency
  4. As the OpenWrt build system only resolves build dependencies per directory,
  5. all hostapd variants were causing libopenssl to be downloaded and built,
  6. not only wpad-mesh. Fix this by applying the same workaround as in
  7. ustream-ssl.
  8. diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
  9. index c16cb11..c39b6b4 100644
  10. --- a/package/network/services/hostapd/Makefile
  11. +++ b/package/network/services/hostapd/Makefile
  12. @@ -177,7 +177,7 @@ endef
  13. define Package/wpad-mesh
  14. $(call Package/wpad/Default)
  15. TITLE+= (with 802.11s mesh and SAE support)
  16. - DEPENDS:=$(DRV_DEPENDS) +libubus +libopenssl +@CONFIG_WPA_SUPPLICANT_OPENSSL @(!TARGET_uml||BROKEN)
  17. + DEPENDS:=$(DRV_DEPENDS) +libubus +PACKAGE_wpad-mesh:libopenssl +@CONFIG_WPA_SUPPLICANT_OPENSSL @(!TARGET_uml||BROKEN)
  18. CONFLICTS:=@WPA_SUPPLICANT_INTERNAL
  19. VARIANT:=wpad-mesh
  20. endef