mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 21:15:08 -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
|
case "$OPT_SSL" in
|
||||||
yes)
|
yes)
|
||||||
dnl --with-ssl (without path) used
|
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"
|
PKGTEST="yes"
|
||||||
fi
|
|
||||||
PREFIX_OPENSSL=/usr/local/ssl
|
PREFIX_OPENSSL=/usr/local/ssl
|
||||||
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
|
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
|
||||||
;;
|
;;
|
||||||
off)
|
off)
|
||||||
dnl no --with-ssl option given, just check default places
|
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"
|
PKGTEST="yes"
|
||||||
fi
|
|
||||||
PREFIX_OPENSSL=
|
PREFIX_OPENSSL=
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user