summaryrefslogtreecommitdiffstats
path: root/configure.ac
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.ac
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.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3c1dc1c..32e673e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -758,7 +758,7 @@ if test "$cross_compiling" = yes; then
# IPHONEOS_DEPLOYMENT_TARGET is the minimum supported iOS version
AC_MSG_CHECKING([iOS deployment target])
- IPHONEOS_DEPLOYMENT_TARGET=${_host_os:3}
+ IPHONEOS_DEPLOYMENT_TARGET=$(echo ${_host_os} | cut -c4-)
IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:=13.0}
AC_MSG_RESULT([$IPHONEOS_DEPLOYMENT_TARGET])