diff options
author | Cristian Morales Vega <cristian@samknows.com> | 2020-10-29 17:14:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-10-29 23:18:29 +0100 |
commit | 6f3369bbcf9d0ebdaa5d141f8ca446448c24494c (patch) | |
tree | 7034b9187291851e99ba603aecaa4db1ec4dae0f /configure.ac | |
parent | ce8ac2db2be8a7b6864ea40da8776ef813a13d11 (diff) | |
download | curl-6f3369bbcf9d0ebdaa5d141f8ca446448c24494c.tar.gz |
configure: use pkgconfig to find openSSL when cross-compiling
This reverts 736a40fec (November 2004), which doesn't explain why it was
done.
Closes #6145
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index b7a7d2daa..a81d96a39 100755 --- a/configure.ac +++ b/configure.ac @@ -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 + PKGTEST="yes" 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 + PKGTEST="yes" PREFIX_OPENSSL= ;; *) |