summaryrefslogtreecommitdiff
path: root/include/systools/curlinit.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2023-12-09 11:44:43 +0100
committerEike Rathke <erack@redhat.com>2023-12-09 12:50:32 +0100
commit7b2166c8217cb32f2f7951f074e33d9fe890bb9b (patch)
treec9a12b0f9eee61b172f044e8bf05e7f454f3bd85 /include/systools/curlinit.hxx
parent7ed0ba0555de892b348b14d4c5900ebcfb4ddd67 (diff)
Fix build --with-system-openssl but --without-system-curl
Change-Id: I60e2e995a159ebbbdc0991204d765b5654d5a4fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160510 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'include/systools/curlinit.hxx')
-rw-r--r--include/systools/curlinit.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/systools/curlinit.hxx b/include/systools/curlinit.hxx
index bf2899ee1e23..d03c620a3c75 100644
--- a/include/systools/curlinit.hxx
+++ b/include/systools/curlinit.hxx
@@ -16,7 +16,9 @@
#if defined(LINUX) && !defined(SYSTEM_CURL)
#include <com/sun/star/uno/RuntimeException.hpp>
+#define LO_CURL_NEEDS_CA_BUNDLE
#include "opensslinit.hxx"
+#undef LO_CURL_NEEDS_CA_BUNDLE
#endif
#include <rtl/string.hxx>