diff --git a/packager/third_party/curl/config/linux/curl_config.h b/packager/third_party/curl/config/linux/curl_config.h index c219b45f3b..82722d52be 100644 --- a/packager/third_party/curl/config/linux/curl_config.h +++ b/packager/third_party/curl/config/linux/curl_config.h @@ -2,7 +2,7 @@ /* lib/curl_config.h.in. Generated from configure.ac by autoheader. */ /* Location of default ca bundle */ -#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" +/* CURL_CA_BUNDLE is defined by GYP */ /* Location of default ca path */ /* #undef CURL_CA_PATH */ diff --git a/packager/third_party/curl/curl.gyp b/packager/third_party/curl/curl.gyp index 254996f2cf..240389e9ed 100644 --- a/packager/third_party/curl/curl.gyp +++ b/packager/third_party/curl/curl.gyp @@ -5,6 +5,23 @@ # https://developers.google.com/open-source/licenses/bsd { + 'variables': { + # Scan ca bundle in its common appearing locations. + 'curl_ca_bundle%': + '