1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed -ldl linking error

This commit is contained in:
James Booth 2014-02-12 21:54:20 +00:00
parent ea2a98cf6e
commit 903ad33f18

View File

@ -125,7 +125,7 @@ if test "x$enable_plugins" = xno; then
AM_CONDITIONAL([BUILD_C_API], [false]) AM_CONDITIONAL([BUILD_C_API], [false])
elif test "x$enable_c_plugins" != xno; then elif test "x$enable_c_plugins" != xno; then
AC_CHECK_LIB([dl], [main], 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( [AS_IF(
[test "x$enable_c_plugins" = xyes], [test "x$enable_c_plugins" = xyes],
[AC_MSG_ERROR([dl library needed to run C plugins])], [AC_MSG_ERROR([dl library needed to run C plugins])],