From 6edad5a8490b3874404fbc88d7f4624566b2ff71 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 25 Sep 2014 10:51:56 +0000
Subject: [PATCH] curl: only set ca path for openssl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42662
---
 package/network/utils/curl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 \
-- 
2.30.2