[anjuta-extras] Fix #578486 – Broken check for bfd
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjuta-extras] Fix #578486 – Broken check for bfd
- Date: Sat, 16 May 2009 08:29:21 -0400 (EDT)
commit d3b1e3e396bb7aee23601e8d9d8597f221e3ad30
Author: Vincent Untz <vuntz gnome org>
Date: Sat May 16 14:28:52 2009 +0200
Fix #578486 â?? Broken check for bfd
Add libz when linking libbfd as it is needed with newer version of libbfd.
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b6f046e..f9458d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,9 +92,9 @@ else
valgrind="yes"
fi
-AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic"],
+AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic -lz"],
valgrind="no",
- -liberty)
+ [-liberty -lz])
AC_SUBST(PLUGIN_VALGRIND_LIBS)
AM_CONDITIONAL(HAVE_PLUGIN_VALGRIND, [test x$valgrind = xyes])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]