[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

Hello,

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"
        ;;
 esac
-XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
+XML_LIBS="-lxml2"
 XML_LIBTOOLLIBS="libxml2.la"
 AC_SUBST(WITH_ICONV)
---------------------------------

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
debian/changelog.

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