fix regresson in Various "make distcheck" and other fixes
authorRoumen Petrov <bugtrack@roumenpetrov.info>
Fri, 10 Aug 2012 22:07:02 +0000 (01:07 +0300)
committerDaniel Veillard <veillard@redhat.com>
Wed, 5 Sep 2012 13:46:39 +0000 (21:46 +0800)
The patch 'Various "make distcheck" and other fixes' removes a line
in configure EXTRA_LIBS=... LIBXML_LIBS...
  -EXTRA_LIBS="$EXTRA_LIBS $LIBXML_LIBS $M_LIBS"

This is not save as libxslt/Makefile.am define only
|EXTRA_LIBS|  as dependency:
|libxslt_la_LIBADD= $(EXTRA_LIBS)|

If platform does not support unresolved dependencies library cannot be linked.
Even with support regression tests fail in python test due unresolved "xml"-symbols .

libxslt/Makefile.am

index 8930de3..d4619d2 100644 (file)
@@ -60,7 +60,7 @@ else
 LIBXSLT_VERSION_SCRIPT =
 endif
 
-libxslt_la_LIBADD = $(EXTRA_LIBS)
+libxslt_la_LIBADD = $(LIBXML_LIBS) $(EXTRA_LIBS)
 libxslt_la_LDFLAGS =                                   \
                $(WIN32_EXTRA_LDFLAGS)                  \
                $(LIBXSLT_VERSION_SCRIPT)               \