]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-117787: Autoconf: fix bashisms/semantic breakage of iOS checks (#117788)
authorEli Schwartz <eschwartz93@gmail.com>
Thu, 11 Apr 2024 23:03:54 +0000 (19:03 -0400)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2024 23:03:54 +0000 (01:03 +0200)
configure
configure.ac

index f9647566636e4c887ae0f3cef378175d762a1292..f9c181ac3805e170ccd477aa7ae0cc2e4d03ec6f 100755 (executable)
--- a/configure
+++ b/configure
@@ -24334,7 +24334,7 @@ if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MA
 fi
 
 # On iOS the shared libraries must be linked with the Python framework
-if test "$ac_sys_system" == "iOS"; then
+if test "$ac_sys_system" = "iOS"; then
   MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(PYTHONFRAMEWORKDIR)/\$(PYTHONFRAMEWORK)"
 fi
 
index e195e15b39ed216738ad881312e956fd4c6e3475..47c084d92a30e8d84cd39a9c6fa2351acb572301 100644 (file)
@@ -6053,7 +6053,7 @@ if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MA
 fi
 
 # On iOS the shared libraries must be linked with the Python framework
-if test "$ac_sys_system" == "iOS"; then
+if test "$ac_sys_system" = "iOS"; then
   MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(PYTHONFRAMEWORKDIR)/\$(PYTHONFRAMEWORK)"
 fi