mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 07:22:26 +01:00
Fix Custom OpenSSL binary path was ignored.
This commit is contained in:
parent
a601f565e1
commit
876758b73e
2 changed files with 7 additions and 0 deletions
|
@ -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
3
configure
vendored
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue