Library_syssh must link against expat when using StaticLibrary_shell_xmlparser

...which in turn uses expat, so this caused a Linux build of mine to fail with

> [LNK] Library/libsysshlo.so
> ld.lld: error: undefined symbol: XML_ParserCreate
> >>> referenced by xml_parser.cxx:74 (shell/source/all/xml_parser.cxx:74)
> >>>               xml_parser.o:(xml_parser::xml_parser()) in archive workdir/LinkTarget/StaticLibrary/libshell_xmlparser.a

etc.  (No idea why that only started to hit me now, seemingly out of the blue,
but it looks plausible that we need that fix.)

Change-Id: I1d0efabf8cc809bd82ce30ec67d16ce1eb547de0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134167
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2022-05-11 13:39:48 +02:00
parent 8055ad41bb
commit da3aa26efd

View file

@ -37,6 +37,10 @@ $(eval $(call gb_Library_use_static_libraries,syssh,\
shell_xmlparser \
))
$(eval $(call gb_Library_use_externals,syssh, \
expat \
))
$(eval $(call gb_Library_set_componentfile,syssh,shell/source/unix/exec/syssh,services))
$(eval $(call gb_Library_add_exception_objects,syssh,\