[anjuta-extras] bgo #578486 - Broken check for bfd



commit 648985c6c278846a2662d7956959f21af6b8254a
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sun Aug 1 17:41:48 2010 +0200

    bgo #578486  - Broken check for bfd

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fd7c888..88d95d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,9 +127,9 @@ else
 	valgrind="yes"
 fi
 
-AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic -lz"],
+AC_CHECK_LIB(bfd, bfd_get_error, [PLUGIN_VALGRIND_LIBS="-Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic -lz -ldl"],
    valgrind="no",
-  [-liberty -lz])
+  [-liberty -lz -ldl])
 
 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]