From: Shawn J. Goff Date: Wed, 17 Apr 2013 11:31:27 +0000 (+0000) Subject: libcurl: specify capath X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f3c8cf94bd610f60c6963cb6c1df041a1ebb7f3;p=buildroot.git libcurl: specify capath Since openssl's path is '/etc/ssl/' (specified in our openssl package), we should also make sure that's what curl is using. Previously, it's hasn't been specified, which means it changes depending on the host system where it's compiled. Signed-off-by: Shawn J. Goff Signed-off-by: Peter Korsgaard --- diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index a631953af0..f0236d97fa 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -27,7 +27,9 @@ LIBCURL_CONF_ENV += ac_cv_lib_crypto_CRYPTO_lock=yes # Fix it by setting LD_LIBRARY_PATH to something sensible so those libs # are found first. LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/lib:/usr/lib -LIBCURL_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr --with-random=/dev/urandom +LIBCURL_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr \ + --with-random=/dev/urandom \ + --with-ca-path=/etc/ssl/certs else LIBCURL_CONF_OPT += --without-ssl endif