[xml/sgml-pkgs] Bug#675682: libxml2-dev: "xml2-config --libs" output suddenly includes -lz

Andreas Metzler ametzler at downhill.at.eu.org
Sat Jun 2 16:35:36 UTC 2012

Package: libxml2-dev
Version: 2.8.0+dfsg1-1
Severity: normal


while previously "xml2-config --libs" just said "-lxml2" starting with
2.8.0 the output looks like this:
-lxml2 -lz -lm

This is caused by dropping
libxml2-2.7.8.dfsg/debian/patches/01_historical_changes.patch, which
included this change:
--- a/configure.in
+++ b/configure.in
@@ -1319,7 +1322,7 @@
        *) M_LIBS="-lm"

xml2-config also has lost its --static option.

As debian/changelog does not say anything about this being done
intentionally I am assuming it happened by an oversight.  If both of
these changes were done intentionally please document them in

thanks, cu andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

More information about the debian-xml-sgml-pkgs mailing list