From b064667484075ec14d9ac9ecb4b8f0793dd08786 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 30 Oct 2011 15:27:44 +0100 Subject: [PATCH] Fix configure check for BFD --- configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 3a438ee..42d4ff0 100644 --- a/configure.ac +++ b/configure.ac @@ -733,7 +733,8 @@ CAIRO_ENABLE(interpreter, cairo-script-interpreter, yes, [ AC_CHECK_LIB(bfd, bfd_openr, [AC_CHECK_HEADER(bfd.h, [have_bfd=yes], - [have_bfd=no])], [have_bfd=no]) + [have_bfd=no])], [have_bfd=no], + [-lltdl -ldl]) AC_CHECK_HEADER(libiberty.h,, [have_bfd=no]) if test "x$have_bfd" = "xyes"; then AC_DEFINE([HAVE_BFD], [1], [Define to 1 if you have the binutils development files installed]) -- 1.7.5.1.217.g4e3aa.dirty