mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 12:35:04 -05:00
configure: use pkgconfig to find openSSL when cross-compiling
This reverts 736a40fec
(November 2004), which doesn't explain why it was
done.
Closes #6145
This commit is contained in:
parent
ce8ac2db2b
commit
6f3369bbcf
@ -1767,19 +1767,13 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
|
||||
case "$OPT_SSL" in
|
||||
yes)
|
||||
dnl --with-ssl (without path) used
|
||||
if test x$cross_compiling != xyes; then
|
||||
dnl only do pkg-config magic when not cross-compiling
|
||||
PKGTEST="yes"
|
||||
fi
|
||||
PREFIX_OPENSSL=/usr/local/ssl
|
||||
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
|
||||
;;
|
||||
off)
|
||||
dnl no --with-ssl option given, just check default places
|
||||
if test x$cross_compiling != xyes; then
|
||||
dnl only do pkg-config magic when not cross-compiling
|
||||
PKGTEST="yes"
|
||||
fi
|
||||
PREFIX_OPENSSL=
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user