summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFurkan Onder <furkanonder@protonmail.com>2024-09-05 23:49:12 (GMT)
committerGitHub <noreply@github.com>2024-09-05 23:49:12 (GMT)
commit42f52431e9961d5236b33a68af16cca07b74d02c (patch)
tree9069828d810bf5414263ac70d5437c3ebd34abe5 /configure
parentb5aa271f86229f126c21805ff2bd3b95526818a4 (diff)
downloadcpython-42f52431e9961d5236b33a68af16cca07b74d02c.zip
cpython-42f52431e9961d5236b33a68af16cca07b74d02c.tar.gz
cpython-42f52431e9961d5236b33a68af16cca07b74d02c.tar.bz2
gh-123716: Fix 'Bad substitution' syntax error in configure script for NetBSD compatibility (#123717)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2c58af3..54982ab 100755
--- a/configure
+++ b/configure
@@ -4509,7 +4509,7 @@ if test "$cross_compiling" = yes; then
# IPHONEOS_DEPLOYMENT_TARGET is the minimum supported iOS version
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking iOS deployment target" >&5
printf %s "checking iOS deployment target... " >&6; }
- IPHONEOS_DEPLOYMENT_TARGET=${_host_os:3}
+ IPHONEOS_DEPLOYMENT_TARGET=$(echo ${_host_os} | cut -c4-)
IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:=13.0}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPHONEOS_DEPLOYMENT_TARGET" >&5
printf "%s\n" "$IPHONEOS_DEPLOYMENT_TARGET" >&6; }