From 903ad33f18e5db8f1c02b23b580f8f3602077cc6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 12 Feb 2014 21:54:20 +0000 Subject: [PATCH] Fixed -ldl linking error --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index eb54df0e..0029963d 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,7 @@ if test "x$enable_plugins" = xno; then AM_CONDITIONAL([BUILD_C_API], [false]) elif test "x$enable_c_plugins" != xno; then AC_CHECK_LIB([dl], [main], - [AM_CONDITIONAL([BUILD_C_API], [true]) AC_DEFINE([HAVE_C], [1], [C support])], + [AM_CONDITIONAL([BUILD_C_API], [true]) LIBS="$LIBS -ldl" AC_DEFINE([HAVE_C], [1], [C support])], [AS_IF( [test "x$enable_c_plugins" = xyes], [AC_MSG_ERROR([dl library needed to run C plugins])],