1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

configure: don't check for Security.framework when cross-compiling

Since it checks for the local file, not the cross-compiled one.

Closes #5189
This commit is contained in:
Dennis Felsing 2020-04-06 13:56:07 +02:00 committed by Daniel Stenberg
parent 920dfacbf4
commit 2ebc1236ab
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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])