File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4301,7 +4301,7 @@ rm -f core conftest.err conftest.$ac_objext \
4301
4301
conftest$ac_exeext conftest.$ac_ext
4302
4302
else
4303
4303
if test -z " $MACOSX_DEPLOYMENT_TARGET " ; then
4304
- macosx_deployment_target=` /usr/bin/sw_vers -productVersion| /usr/bin/sed -e ' s/^\(0-9*\.0-9*\).*/\1/' `
4304
+ macosx_deployment_target=` /usr/bin/sw_vers -productVersion| /usr/bin/sed -e ' s/^\([ 0-9] *\.[ 0-9] *\).*/\1/' `
4305
4305
XCODEFLAGS=" $XCODEFLAGS MACOSX_DEPLOYMENT_TARGET=$macosx_deployment_target "
4306
4306
fi
4307
4307
fi
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ if test "`(uname) 2>/dev/null`" = Darwin; then
189
189
LDFLAGS="$save_ldflags" ])
190
190
else
191
191
if test -z "$MACOSX_DEPLOYMENT_TARGET"; then
192
- macosx_deployment_target=`/usr/bin/sw_vers -productVersion|/usr/bin/sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'`
192
+ macosx_deployment_target=`/usr/bin/sw_vers -productVersion|/usr/bin/sed -e 's/^\([[ 0-9]] *\.[[ 0-9] ]*\).*/\1/'`
193
193
XCODEFLAGS="$XCODEFLAGS MACOSX_DEPLOYMENT_TARGET=$macosx_deployment_target"
194
194
fi
195
195
fi
You can’t perform that action at this time.
0 commit comments