aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2019-10-31 23:39:02 +0800
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2020-03-29 14:31:04 +0100
commit972daf7fdcb987f5de3a50e5880e419a46a7e665 (patch)
tree9d404be5883d271f1e88a35208ed546ab4a3b274 /package/network
parent19760563f73d0c3b9ec5300684d4a97bdefd70b3 (diff)
downloadupstream-972daf7fdcb987f5de3a50e5880e419a46a7e665.tar.gz
upstream-972daf7fdcb987f5de3a50e5880e419a46a7e665.tar.bz2
upstream-972daf7fdcb987f5de3a50e5880e419a46a7e665.zip
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 <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/utils/curl/Makefile6
1 files changed, 5 insertions, 1 deletions
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