diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in index 6d7b62ff..626f5e4a 100644 --- a/libxml-2.0.pc.in +++ b/libxml-2.0.pc.in @@ -8,5 +8,5 @@ Name: libXML Version: @VERSION@ Description: libXML library version2. Requires@XML_PC_PRIVATE@: @XML_PC_REQUIRES@ -Libs: -L${libdir} @XML_LIBS@ @XML_PC_LIBS_PRIVATE@ @XML_PC_LIBS@ @LIBS@ +Libs: @XML_LIBDIR@ @XML_LIBS@ @XML_PC_LIBS_PRIVATE@ @XML_PC_LIBS@ @LIBS@ Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@ diff --git a/xml2-config.in b/xml2-config.in index 3d3f666a..00977518 100644 --- a/xml2-config.in +++ b/xml2-config.in @@ -89,7 +89,7 @@ while test $# -gt 0; do libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @LIBS@" fi - if [ "@XML_LIBDIR@" != "-L/usr/lib" -a "@XML_LIBDIR@" != "-L/usr/lib64" ]; then + if [ "@libdir@" != "/usr/lib" -a "@libdir@" != "/usr/lib64" ]; then libs="@XML_LIBDIR@ $libs" fi ;;