diff options
author | Dennis Felsing <dennis@felsin9.de> | 2020-04-06 13:56:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-06 15:23:08 +0200 |
commit | 2ebc1236ab45c22d8ef4bf8893bc81c86272e71b (patch) | |
tree | f65d9dda8fae8d8624c3b76fbb5cad5ed21ed7da /configure.ac | |
parent | 920dfacbf4dae30887d05f8b4d07021a4c50bd2f (diff) | |
download | curl-2ebc1236ab45c22d8ef4bf8893bc81c86272e71b.tar.gz |
configure: don't check for Security.framework when cross-compiling
Since it checks for the local file, not the cross-compiled one.
Closes #5189
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 889617ffa..0479099e8 100755 --- a/configure.ac +++ b/configure.ac @@ -1554,7 +1554,7 @@ AC_HELP_STRING([--without-secure-transport], [disable Apple OS native SSL/TLS]), AC_MSG_CHECKING([whether to enable Secure Transport]) if test -z "$ssl_backends" -o "x$OPT_SECURETRANSPORT" != xno; then if test "x$OPT_SECURETRANSPORT" != "xno" && - test -d "/System/Library/Frameworks/Security.framework"; then + (test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); then AC_MSG_RESULT(yes) AC_DEFINE(USE_SECTRANSP, 1, [enable Secure Transport]) AC_SUBST(USE_SECTRANSP, [1]) |