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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user