[xml] xml2-config incorrectly passes private dependencies when linking dynamically
- From: Hugh McMaster <hugh mcmaster outlook com>
- To: "xml gnome org" <xml gnome org>
- Subject: [xml] xml2-config incorrectly passes private dependencies when linking dynamically
- Date: Wed, 3 Jul 2019 00:36:55 +1000
`xml2-config --libs` prints private library dependencies by default. This is un-necessary and incorrect when linking against libxml2 dynamically.
Debian patches libxml and libxslt to allow `--libs --static`, but as pointed out in [1], this breaks existing applications expecting all libraries, including private dependencies.
The recommendation in [2] is to patch xml2-config to add a --dynamic option to --libs, before patching libxslt to fix several issues with private dependencies.
I’ve submitted a patch for xml2-config in a pull request on Gitlab [3].
Thank you,
Hugh
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]