configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4132bd5477c25a505f7bfbee1e7dcf6602c927d3
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Mon Jan 23 17:56:31 2023 +0100
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Tue Jan 24 11:28:53 2023 +0000

    No need for openssl in the cross build's instdir_for_build
    
    So disable it from the configure & make sure it is not brought in by the
    non-iOS check.
    
    Change-Id: I9bbf1c593d1d48197951002e04e7f925d35ecba9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146034
    Tested-by: Jenkins
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/configure.ac b/configure.ac
index 8bad8873443d..921853e2f8b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5734,6 +5734,7 @@ if test "$cross_compiling" = "yes"; then
         --disable-nss \
         --disable-online-update \
         --disable-opencl \
+        --disable-openssl \
         --disable-pdfimport \
         --disable-postgresql-sdbc \
         --disable-skia \
@@ -5741,9 +5742,9 @@ if test "$cross_compiling" = "yes"; then
         --enable-dynamic-loading \
         --enable-icecream="$enable_icecream" \
         --without-doxygen \
+        --without-tls \
         --without-webdav \
         --without-x \
-        --with-tls=openssl \
 "
     # single quotes added for better readability in case of spaces
     echo "    Running CONF-FOR-BUILD/configure" \
@@ -5798,7 +5799,6 @@ if test "$cross_compiling" = "yes"; then
         LIBXSLT
         MDDS
         NATIVE
-        OPENSSL
         ORCUS
         PYTHON
         SCRIPTING
@@ -10632,7 +10632,7 @@ if test "$enable_fuzzers" != "yes" -a "$enable_nss" = 
"yes"; then
     libo_CHECK_SYSTEM_MODULE([nss],[NSS],[nss >= 3.9.3 nspr >= 
4.8],,system-if-linux)
     AC_DEFINE(HAVE_FEATURE_NSS)
     ENABLE_NSS=TRUE
-elif test $_os != iOS ; then
+elif test $_os != iOS -a "$enable_openssl" != "no"; then
     with_tls=openssl
 fi
 AC_SUBST(ENABLE_NSS)

Reply via email to