[MacPorts] #65829: libxslt: .pc file includes unnecessary libs

MacPorts noreply at macports.org
Mon Sep 12 06:24:16 UTC 2022

#65829: libxslt: .pc file includes unnecessary libs
 Reporter:  jmroot  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  libxslt
 % pkg-config --libs libxslt
 -L/opt/local/lib -lxslt -lxml2 -licui18n -licuuc -licudata -lpthread -lz
 -llzma -liconv -lm -lxml2
 Most of that is linking to dependencies of libxslt or libxml2, which
 aren't needed by clients of libxslt and is thus overlinking. (They should
 of course be included with `--static`, but that lists most of them twice…)

Ticket URL: <https://trac.macports.org/ticket/65829>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list