mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Fix the OpenSSL link order for the non-pkg-config case.
Since -lssl depends on -lcrypto, -lcrypto must be listed after -lssl. Fixes linking of non-dynamic OpenSSL libs.
This commit is contained in:
parent
e1653be435
commit
2d632937e6
2
configure
vendored
2
configure
vendored
@ -23674,7 +23674,7 @@ fi
|
||||
else
|
||||
enable_openssl=yes
|
||||
fi
|
||||
LIBTLS="${LIBTLS} -lcrypto -lssl"
|
||||
LIBTLS="${LIBTLS} -lssl -lcrypto"
|
||||
|
||||
# Use OpenSSL's sha2 functions if possible
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA224_Update in -lcrypto" >&5
|
||||
|
@ -2995,7 +2995,7 @@ if test "${enable_openssl-no}" != no; then
|
||||
else
|
||||
enable_openssl=yes
|
||||
fi
|
||||
LIBTLS="${LIBTLS} -lcrypto -lssl"
|
||||
LIBTLS="${LIBTLS} -lssl -lcrypto"
|
||||
|
||||
# Use OpenSSL's sha2 functions if possible
|
||||
AC_CHECK_LIB(crypto, SHA224_Update, [
|
||||
|
Loading…
x
Reference in New Issue
Block a user