mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Include -lcrypto when checking for -lssl. Fails on OpenBSD 5.5 w/1.0.1c
This commit is contained in:
parent
e5767c245f
commit
a2c3b2f03a
2 changed files with 3 additions and 2 deletions
2
ncat/configure
vendored
2
ncat/configure
vendored
|
|
@ -4690,7 +4690,7 @@ if ${ac_cv_lib_ssl_SSL_new+:} false; then :
|
|||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lssl $LIBS"
|
||||
LIBS="-lssl -lcrypto $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,8 @@ if test "$use_openssl" = "yes" -a -z "$specialssldir" ; then
|
|||
[ 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]) ])
|
||||
If it is installed you can try the --with-openssl=DIR argument]) ],
|
||||
[ -lcrypto ])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue