Fix linking flag for libdl.

This commit is contained in:
Michael Jumper 2013-07-08 19:05:06 -07:00
parent c3bbf97d22
commit edf9762667

View File

@ -57,7 +57,7 @@ AC_DEFINE([_POSIX_C_SOURCE], [199309L], [Uses POSIX APIs])
AC_DEFINE([_BSD_SOURCE], [], [Uses BSD APIs])
# libdl
AC_CHECK_LIB([dl], [dlopen], [DL_LIBS=-lpng],
AC_CHECK_LIB([dl], [dlopen], [DL_LIBS=-ldl],
AC_MSG_ERROR("libdl is required for loading client plugins"))
# libpng