try to fix Red hat bug #89957, do not output -L/usr/lib64 fixed a typo in
* xml2-config.in: try to fix Red hat bug #89957, do not
output -L/usr/lib64
* xmlreader.c: fixed a typo in a comment
Daniel
diff --git a/xml2-config.in b/xml2-config.in
index da31e7f..7282186 100644
--- a/xml2-config.in
+++ b/xml2-config.in
@@ -60,7 +60,17 @@
;;
--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
;;
*)