From 972daf7fdcb987f5de3a50e5880e419a46a7e665 Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Thu, 31 Oct 2019 23:39:02 +0800 Subject: [PATCH] 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 --- package/network/utils/curl/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index fdb8533ae929..c483ec1186df 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 -- 2.30.2