projects
/
m4-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58092fa
)
Remove -L/usr/lib from XML2 libs
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 21 Aug 2012 12:40:31 +0000
(14:40 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 21 Aug 2012 12:40:31 +0000
(14:40 +0200)
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
patch
|
blob
|
history
diff --git
a/yaz_libxml2.m4
b/yaz_libxml2.m4
index
5f3641d
..
26e474f
100644
(file)
--- 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
])