From fd2bab9d287ef0879568662d4fedeae0a0c61d43 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 11 Apr 2024 19:03:54 -0400 Subject: gh-117787: Autoconf: fix bashisms/semantic breakage of iOS checks (#117788) --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f964756..f9c181a 100755 --- 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 diff --git a/configure.ac b/configure.ac index e195e15..47c084d 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v0.12