1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

OpenSSL: Check for lib64

Mostly due to openssl 3 beta if you custom build to a specific dir.
This commit is contained in:
Bram Matthys
2021-09-03 07:54:07 +02:00
parent 1f2e79b64c
commit 7d75b38c26
2 changed files with 38 additions and 30 deletions
+5 -1
View File
@@ -182,7 +182,11 @@ AS_IF([test $enable_ssl != "no"],
else
CRYPTOLIB="-lssl -lcrypto";
if test ! "$ssldir" = "/usr" ; then
LDFLAGS="$LDFLAGS -L$ssldir/lib";
if test -d "$ssldir/lib64" ; then
LDFLAGS="$LDFLAGS -L$ssldir/lib64";
else
LDFLAGS="$LDFLAGS -L$ssldir/lib";
fi
dnl check if binary path exists
if test -f "$ssldir/bin/openssl"; then
OPENSSLPATH="$ssldir/bin/openssl";