diff options
Diffstat (limited to 'xml2-config.in')
-rw-r--r-- | xml2-config.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/xml2-config.in b/xml2-config.in index da31e7f1..72821869 100644 --- a/xml2-config.in +++ b/xml2-config.in @@ -60,7 +60,17 @@ while test $# -gt 0; do ;; --libs) - echo @XML_LIBDIR@ @XML_LIBS@ + if [ "`uname`" = "Linux" ] + then + if [ "@XML_LIBDIR@" = "-L/usr/lib64" ] + then + echo @XML_LIBS@ + else + echo @XML_LIBDIR@ @XML_LIBS@ + fi + else + echo @XML_LIBDIR@ @XML_LIBS@ + fi ;; *) |