Parcourir la source

curl: only set ca path for openssl

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 42662
Felix Fietkau il y a 11 ans
Parent
commit
6edad5a849
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package/network/utils/curl/Makefile

+ 1 - 1
package/network/utils/curl/Makefile

@@ -97,7 +97,7 @@ CONFIGURE_ARGS += \
 	--disable-manual \
 	--disable-manual \
 	--disable-verbose \
 	--disable-verbose \
 	--without-ca-bundle \
 	--without-ca-bundle \
-	--with-ca-path=/etc/ssl/certs/ \
+	$(if $(CONFIG_LIBCURL_OPENSSL),--with-ca-path=/etc/ssl/certs/) \
 	--without-krb4 \
 	--without-krb4 \
 	--without-libidn \
 	--without-libidn \
 	--without-nss \
 	--without-nss \