#65829 closed defect (fixed)

libxslt: .pc file includes unnecessary libs

Reported by: jmroot (Joshua Root) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libxslt

Description

% 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…)

Change History (1)

comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 688da8625e242569fde366376af7e1d5b292e99a/macports-ports (master):

libxslt: Don't overlink to libxml2's dependencies

Closes: #65829

Note: See TracTickets for help on using tickets.