configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 9aed505475b5ce85c9cd6c1baaec4c70d0cb6cc0
Author: Michael Stahl <[email protected]>
AuthorDate: Mon Nov 10 11:40:15 2025 +0100
Commit: Christian Lohmaier <[email protected]>
CommitDate: Thu Nov 27 17:13:06 2025 +0100
tdf#169314 configure: default to --without-system-libxml (Linux)
Tragically libxml2 2.14 changed the SONAME to libxml2.so.16, breaking 25
years of ABI compatibility.
Debian sid and Ubuntu 25.10 both appear to ship only libxml2.so.16 with
no compat package for libxml2.so.2
configure has always defaulted to preferring system libxml on
Linux/macOS but that used to be overridden for release builds before
commit b20f17ce082f30b0a2afd0d311f63f6b2ad8a99a
Change-Id: I7d9b27bd7334ae4ade8c9b58fcf2cd0f9f07fab4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193735
Tested-by: Jenkins
Reviewed-by: Michael Stahl <[email protected]>
(cherry picked from commit 8e52bae5c42f28eeb57944b21d0d7a80d701f844)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193970
Reviewed-by: Christian Lohmaier <[email protected]>
diff --git a/configure.ac b/configure.ac
index 6763ce5a3e9a..99e9544e5563 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10217,9 +10217,12 @@ if test "$with_system_libxml" = "auto"; then
Emscripten)
with_system_libxml=no
;;
+ Darwin)
+ with_system_libxml=yes
+ ;;
*)
if test "$enable_fuzzers" != "yes"; then
- with_system_libxml=yes
+ with_system_libxml="$with_system_libs"
else
with_system_libxml=no
fi