summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-03-10 14:54:28 +0100
committerAndras Timar <andras.timar@collabora.com>2016-04-04 23:54:29 +0200
commit8987a2351031d5dc9d3c89b25723e26b4db4ed91 (patch)
tree16df4401c0e661c1d2e08ed11f0ce861a7a78301 /external
parent5f7e5b74a474811cc23a1cfde304a985b20d77a0 (diff)
tdf#98416: Explicitly disable curl hardcoded CA certificate store
Add --without-ca-bundle --without-ca-path options to curl configure in Linux, to explicitly disable the hardcoded curl CA certificate store. If the store is not disabled, curl configure will try to find one suitable for the Linux distro on which it's being built, leading to possible problems when building on a Linux distro type while targeting another Linux distro type (e.g. building on Red Hat derivative targeting Debian derivative). Change-Id: Id1ddf1d74e33bc66e4f7187e376d7379f5c4f36a Reviewed-on: https://gerrit.libreoffice.org/23141 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 30b9c6a457de61f3c94431ecc75716f866c3379e) Reviewed-on: https://gerrit.libreoffice.org/23245 Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 0f567d9316941f0fcca4c260ad1e92fbe1a0df2d)
Diffstat (limited to 'external')
-rw-r--r--external/curl/ExternalProject_curl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/curl/ExternalProject_curl.mk b/external/curl/ExternalProject_curl.mk
index 4222419c6ad3..dc12c4bb89e9 100644
--- a/external/curl/ExternalProject_curl.mk
+++ b/external/curl/ExternalProject_curl.mk
@@ -52,6 +52,7 @@ $(call gb_ExternalProject_get_state_target,curl,build):
--without-librtmp --disable-ldaps --disable-tftp --disable-pop3 \
--disable-imap --disable-smtp --disable-manual --without-metalink \
--without-nghttp2 \
+ $(if $(filter LINUX,$(OS)),--without-ca-bundle --without-ca-path) \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),--disable-shared,--disable-static) \
$(if $(ENABLE_DEBUG),--enable-debug) \