This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 91877337ee libs.mk: link libxml2's static-lib deps for dmake modules 
on macOS
91877337ee is described below

commit 91877337ee3ae7438a0722331d6a42377b5f70ff
Author: Jim Jagielski <[email protected]>
AuthorDate: Thu Aug 6 14:24:10 2026 -0400

    libs.mk: link libxml2's static-lib deps for dmake modules on macOS
---
 main/solenv/inc/libs.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/main/solenv/inc/libs.mk b/main/solenv/inc/libs.mk
index f5112b0b8b..ab9ba42e48 100644
--- a/main/solenv/inc/libs.mk
+++ b/main/solenv/inc/libs.mk
@@ -172,8 +172,14 @@ XMLSECLIB-NSS=-lxmlsec1-nss
 .IF "$(SYSTEM_LIBXML)"=="YES"
 LIBXML2LIB=$(LIBXML_LIBS)
 .ELSE
+.IF "$(OS)"=="MACOSX"
+# Bundled libxml2 is a static archive on macOS (main/libxml2/makefile.mk), 
which
+# carries no transitive deps -- add what its own .pc's Libs.private needs.
+LIBXML2LIB=-lxml2 -lpthread -liconv -lm
+.ELSE
 LIBXML2LIB=-lxml2
 .ENDIF
+.ENDIF
 NSS3LIB=-lnss3
 NSPR4LIB=-lnspr4
 PLC4LIB=-lplc4

Reply via email to