Fix build with openssl on 12.1-STABLE.

PR:		246289
Submitted by:	yds@Necessitu.de
MFH:		2020Q2
This commit is contained in:
Guido Falsi 2020-05-09 15:44:00 +00:00
parent 31d9977437
commit cbde95c652
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534782

View File

@ -43,7 +43,7 @@
+ elif test -f "/usr/lib/libssl.so"; then
+ AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl])
+ SSL_INC="-I/usr/include"
+ SSL_LIB="-L/usr/lib -lssl"
+ SSL_LIB="-L/usr/lib -lssl -lcrypto"
else
echo "Please install openssl-dev(el) package prerequisite"
exit -1