Fix linking flag for libdl.
This commit is contained in:
parent
c3bbf97d22
commit
edf9762667
@ -57,7 +57,7 @@ AC_DEFINE([_POSIX_C_SOURCE], [199309L], [Uses POSIX APIs])
|
|||||||
AC_DEFINE([_BSD_SOURCE], [], [Uses BSD APIs])
|
AC_DEFINE([_BSD_SOURCE], [], [Uses BSD APIs])
|
||||||
|
|
||||||
# libdl
|
# 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"))
|
AC_MSG_ERROR("libdl is required for loading client plugins"))
|
||||||
|
|
||||||
# libpng
|
# libpng
|
||||||
|
Loading…
Reference in New Issue
Block a user