aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/curl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-09-25 10:51:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-09-25 10:51:56 +0000
commit763502f621961aceafa31cd8960143ffe55004b7 (patch)
tree7b290212e51d1434cc7f9602b5490ab37f70f66e /package/network/utils/curl
parent22c9a17d258ee0791f70e8ac1cff7e715e3830da (diff)
downloadupstream-763502f621961aceafa31cd8960143ffe55004b7.tar.gz
upstream-763502f621961aceafa31cd8960143ffe55004b7.tar.bz2
upstream-763502f621961aceafa31cd8960143ffe55004b7.zip
curl: only set ca path for openssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42662 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/curl')
-rw-r--r--package/network/utils/curl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile
index 2c6e6ea2b7..a77fcc89a7 100644
--- a/package/network/utils/curl/Makefile
+++ b/package/network/utils/curl/Makefile
@@ -97,7 +97,7 @@ CONFIGURE_ARGS += \
--disable-manual \
--disable-verbose \
--without-ca-bundle \
- --with-ca-path=/etc/ssl/certs/ \
+ $(if $(CONFIG_LIBCURL_OPENSSL),--with-ca-path=/etc/ssl/certs/) \
--without-krb4 \
--without-libidn \
--without-nss \