From c40c0aca772c390de538192e144b79af3831f0d7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 21 Aug 2012 14:40:31 +0200 Subject: [PATCH] Remove -L/usr/lib from XML2 libs It's not necessary to specify on most systems and it confuses the linker to think that /usr/lib might precede /usr/local/lib or other. --- yaz_libxml2.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yaz_libxml2.m4 b/yaz_libxml2.m4 index 5f3641d..26e474f 100644 --- a/yaz_libxml2.m4 +++ b/yaz_libxml2.m4 @@ -44,6 +44,7 @@ if test "$xml2dir" != "no"; then AC_MSG_ERROR([libxml2 development libraries not found.]) fi fi + XML2_LIBS=`echo $XML2_LIBS|sed 's@-./usr/lib @@g'` fi ]) @@ -97,6 +98,7 @@ if test "$xsltdir" != "no"; then AC_MSG_ERROR([libXSLT development libraries not found.]) fi fi + XML2_LIBS=`echo $XML2_LIBS|sed 's@-./usr/lib @@g'` fi ]) -- 1.7.10.4