From: DENG Qingfang Date: Thu, 31 Oct 2019 15:39:02 +0000 (+0800) Subject: curl: rebuild when libopenssl config changes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=972daf7fdcb987f5de3a50e5880e419a46a7e665;p=openwrt%2Fstaging%2Fluka.git curl: rebuild when libopenssl config changes When some libopenssl options change curl will have to be rebuild to adapt to those changes, avoiding undefined reference errors or features disabled in curl. Add CONFIG_OPENSSL_ENGINE, CONFIG_OPENSSL_WITH_COMPRESSION and CONFIG_OPENSSL_WITH_NPN to PKG_CONFIG_DEPENDS so it will trigger rebuild every time the options are changed. Signed-off-by: DENG Qingfang --- diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index fdb8533ae9..c483ec1186 100644 --- a/package/network/utils/curl/Makefile +++ b/package/network/utils/curl/Makefile @@ -64,7 +64,11 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_LIBCURL_TLS_SRP \ CONFIG_LIBCURL_UNIX_SOCKETS \ CONFIG_LIBCURL_VERBOSE \ - CONFIG_LIBCURL_NTLM + CONFIG_LIBCURL_NTLM \ + $(if $(CONFIG_LIBCURL_OPENSSL), \ + CONFIG_OPENSSL_ENGINE \ + CONFIG_OPENSSL_WITH_COMPRESSION \ + CONFIG_OPENSSL_WITH_NPN) include $(INCLUDE_DIR)/package.mk