1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00

build: Fix XML_LIBDIR usage

This commit is contained in:
Nick Wellnhofer 2024-06-21 03:38:11 +02:00
parent fc4bd04bdd
commit 1a5ed74717
2 changed files with 2 additions and 2 deletions

View File

@ -8,5 +8,5 @@ Name: libXML
Version: @VERSION@ Version: @VERSION@
Description: libXML library version2. Description: libXML library version2.
Requires@XML_PC_PRIVATE@: @XML_PC_REQUIRES@ 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@ Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@

View File

@ -89,7 +89,7 @@ while test $# -gt 0; do
libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @LIBS@" libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @LIBS@"
fi 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" libs="@XML_LIBDIR@ $libs"
fi fi
;; ;;