Skip to content

Commit 42f5243

Browse files
authored
gh-123716: Fix 'Bad substitution' syntax error in configure script for NetBSD compatibility (#123717)
1 parent b5aa271 commit 42f5243

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ if test "$cross_compiling" = yes; then
758758

759759
# IPHONEOS_DEPLOYMENT_TARGET is the minimum supported iOS version
760760
AC_MSG_CHECKING([iOS deployment target])
761-
IPHONEOS_DEPLOYMENT_TARGET=${_host_os:3}
761+
IPHONEOS_DEPLOYMENT_TARGET=$(echo ${_host_os} | cut -c4-)
762762
IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:=13.0}
763763
AC_MSG_RESULT([$IPHONEOS_DEPLOYMENT_TARGET])
764764

0 commit comments

Comments
 (0)