[Bug 202006] textproc/libxml2: xml2-config --libs output lists private libraries causing overlinking

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 31 15:39:14 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202006

Tijl Coosemans <tijl at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tijl at FreeBSD.org

--- Comment #1 from Tijl Coosemans <tijl at FreeBSD.org> ---
I'm not sure this is fixable.  xml2-config cannot distinguish between static
and dynamic linking like pkgconfig ("pkgconf --libs libxml-2.0" versus "pkgconf
--static --libs libxml-2.0") so it always has to return all libraries.  You'll
have to make net/asterisk use pkgconfig somehow.  For instance, by replacing
that definition of LIBXML2_LIB with `pkgconf --libs libxml-2.0`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-gnome mailing list