From: Dennis Felsing Date: Mon, 6 Apr 2020 11:56:07 +0000 (+0200) Subject: configure: don't check for Security.framework when cross-compiling X-Git-Tag: curl-7_70_0~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ebc1236ab45c22d8ef4bf8893bc81c86272e71b;p=thirdparty%2Fcurl.git configure: don't check for Security.framework when cross-compiling Since it checks for the local file, not the cross-compiled one. Closes #5189 --- diff --git a/configure.ac b/configure.ac index 889617ffa9..0479099e85 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])