diff options
author | Furkan Onder <furkanonder@protonmail.com> | 2024-09-05 23:49:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 23:49:12 (GMT) |
commit | 42f52431e9961d5236b33a68af16cca07b74d02c (patch) | |
tree | 9069828d810bf5414263ac70d5437c3ebd34abe5 /configure | |
parent | b5aa271f86229f126c21805ff2bd3b95526818a4 (diff) | |
download | cpython-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |