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:
parent
8055ad41bb
commit
da3aa26efd
1 changed files with 4 additions and 0 deletions
|
@ -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,\
|
||||
|
|
Loading…
Reference in a new issue