Check for and add -ldl.

This commit is contained in:
Guus Sliepen 2001-06-21 16:37:05 +00:00
parent 04ec0b82ab
commit b1e97ece9c

View file

@ -28,4 +28,9 @@ AC_DEFUN(tinc_OPENSSL,
[LIBS="$LIBS -lcrypto"],
[AC_MSG_ERROR("OpenSSL libraries not found.")]
)
AC_CHECK_LIB(dl, dlopen,
[LIBS="$LIBS -ldl"],
[AC_MSG_ERROR("OpenSSL depends on libdl.")]
)
])