configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 8e52bae5c42f28eeb57944b21d0d7a80d701f844
Author: Michael Stahl <[email protected]>
AuthorDate: Mon Nov 10 11:40:15 2025 +0100
Commit: Michael Stahl <[email protected]>
CommitDate: Wed Nov 12 14:27:52 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]>
diff --git a/configure.ac b/configure.ac
index 40d63c5fb69c..b3a654509531 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10367,9 +10367,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