Fix Custom OpenSSL binary path was ignored.

This commit is contained in:
i 2019-07-11 14:20:01 +03:00
parent a601f565e1
commit 876758b73e
2 changed files with 7 additions and 0 deletions

View file

@ -179,6 +179,10 @@ AS_IF([test $enable_ssl != "no"],
CRYPTOLIB="-lssl -lcrypto";
if test ! "$ssldir" = "/usr" ; then
LDFLAGS="$LDFLAGS -L$ssldir/lib";
dnl check if binary path exists
if test -f "$ssldir/bin/openssl"; then
OPENSSLPATH="$ssldir/bin/openssl";
fi
fi
dnl linking require -ldl?
AC_MSG_CHECKING([OpenSSL linking with -ldl])

3
configure vendored
View file

@ -7571,6 +7571,9 @@ $as_echo "not found" >&6; }
CRYPTOLIB="-lssl -lcrypto";
if test ! "$ssldir" = "/usr" ; then
LDFLAGS="$LDFLAGS -L$ssldir/lib";
if test -f "$ssldir/bin/openssl"; then
OPENSSLPATH="$ssldir/bin/openssl";
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
$as_echo_n "checking OpenSSL linking with -ldl... " >&6; }