summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Butler2020-08-23 15:10:37 +0000
committerPaul Spooren2020-08-26 23:26:42 +0000
commit7b6f58e9d064f16fa5fe10a916a6ca3b5d8ddb7a (patch)
tree1c4052d1ad122b529fa9568121747ecb9cd9d604
parent30fecae0524b55bd4bfa97e601909379a8fc079b (diff)
downloadpackages-7b6f58e9d064f16fa5fe10a916a6ca3b5d8ddb7a.tar.gz
curl: add optional zlib support
Package libcurl is missing dependencies for the following libraries: libzstd.so.1 Previous patch by Hans Dedecker <dedeckeh@gmail.com> took the easy way out :) Suggested-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Tony Butler <spudz76@gmail.com> [fixed title] Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r--net/curl/Config.in4
-rw-r--r--net/curl/Makefile6
2 files changed, 8 insertions, 2 deletions
diff --git a/net/curl/Config.in b/net/curl/Config.in
index 05effa0e7b..0c4fcb7cf0 100644
--- a/net/curl/Config.in
+++ b/net/curl/Config.in
@@ -133,6 +133,10 @@ config LIBCURL_ZLIB
bool "Enable zlib support"
default n
+config LIBCURL_ZSTD
+ bool "Enable zstd support"
+ default n
+
config LIBCURL_UNIX_SOCKETS
bool "Enable unix domain socket support"
default n
diff --git a/net/curl/Makefile b/net/curl/Makefile
index 3e81b55fc5..e8c2cc103a 100644
--- a/net/curl/Makefile
+++ b/net/curl/Makefile
@@ -37,6 +37,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_LIBCURL_LIBIDN2 \
CONFIG_LIBCURL_SSH2 \
CONFIG_LIBCURL_ZLIB \
+ CONFIG_LIBCURL_ZSTD \
\
CONFIG_LIBCURL_DICT \
CONFIG_LIBCURL_FILE \
@@ -91,8 +92,8 @@ define Package/libcurl
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:= +LIBCURL_WOLFSSL:libwolfssl +LIBCURL_OPENSSL:libopenssl +LIBCURL_GNUTLS:libgnutls +LIBCURL_MBEDTLS:libmbedtls
- DEPENDS += +LIBCURL_ZLIB:zlib +LIBCURL_THREADED_RESOLVER:libpthread +LIBCURL_LDAP:libopenldap +LIBCURL_LIBIDN2:libidn2
- DEPENDS += +LIBCURL_SSH2:libssh2 +LIBCURL_NGHTTP2:libnghttp2 +ca-bundle
+ DEPENDS += +LIBCURL_ZLIB:zlib +LIBCURL_ZSTD:libzstd +LIBCURL_THREADED_RESOLVER:libpthread +LIBCURL_LDAP:libopenldap
+ DEPENDS += +LIBCURL_LIBIDN2:libidn2 +LIBCURL_SSH2:libssh2 +LIBCURL_NGHTTP2:libnghttp2 +ca-bundle
TITLE:=A client-side URL transfer library
MENU:=1
ABI_VERSION:=4
@@ -131,6 +132,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LIBCURL_LIBIDN2),--with-libidn2="$(STAGING_DIR)/usr",--without-libidn2) \
$(if $(CONFIG_LIBCURL_SSH2),--with-libssh2="$(STAGING_DIR)/usr",--without-libssh2) \
$(if $(CONFIG_LIBCURL_ZLIB),--with-zlib="$(STAGING_DIR)/usr",--without-zlib) \
+ $(if $(CONFIG_LIBCURL_ZSTD),--with-zstd="$(STAGING_DIR)/usr",--without-zstd) \
$(if $(CONFIG_LIBCURL_NGHTTP2),--with-nghttp2="$(STAGING_DIR)/usr",--without-nghttp2) \
\
$(call autoconf_bool,CONFIG_LIBCURL_DICT,dict) \