1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-10 07:26:34 +00:00

Link with -lcrypto when testing for -lssl in the main configure.

This commit is contained in:
david
2007-10-18 04:20:41 +00:00
parent 45d54d11f1
commit 8bc752b155
2 changed files with 3 additions and 2 deletions

View File

@@ -245,7 +245,8 @@ if test "$use_openssl" = "yes" -a -z "$specialssldir"; then
AC_CHECK_LIB(ssl, SSL_new,
[ use_openssl="yes" ],
[ use_openssl="no"
AC_MSG_WARN([Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument]) ])
AC_MSG_WARN([Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument]) ],
[ -lcrypto ])
fi
fi