diff options
author | Martin Willi <martin@strongswan.org> | 2015-11-09 17:11:21 +0100 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2015-12-04 08:02:03 +0100 |
commit | 2b39da2634b2b6659f1c73c6477930767c4f38f1 (patch) | |
tree | d7c906e11eec46d86551938642c6ca4840946022 | |
parent | 8b0c9cf155eb3505a643a3e769248a09fdf637f5 (diff) | |
download | strongswan-2b39da2634b2b6659f1c73c6477930767c4f38f1.tar.bz2 strongswan-2b39da2634b2b6659f1c73c6477930767c4f38f1.tar.xz |
configure: Link against potential -ldl when checking for OpenSSL libcrypto
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1017952e7..a7419fded 100644 --- a/configure.ac +++ b/configure.ac @@ -1069,7 +1069,8 @@ if test x$sqlite = xtrue; then fi if test x$openssl = xtrue; then - AC_CHECK_LIB([$openssl_lib],[main],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL lib$openssl_lib not found])],[]) + AC_CHECK_LIB([$openssl_lib],[main],[LIBS="$LIBS"], + [AC_MSG_ERROR([OpenSSL lib$openssl_lib not found])],[$DLLIB]) AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])]) fi |