Check for and add -ldl.
This commit is contained in:
parent
04ec0b82ab
commit
b1e97ece9c
1 changed files with 5 additions and 0 deletions
|
@ -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.")]
|
||||
)
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue