Skip to content

Commit

Permalink
one of these times...
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Oct 22, 2024
1 parent ba29a96 commit 3c43a83
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions osx_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,13 @@ function pyinst_fname_for_version {
# we set the env variable _PYTHON_HOST_PLATFORM to change this
# default.
if [ -z "$2" ]; then
if [ $(uname -m) == "arm64" ] \
&& [ $(lex_ver $_ver) -ge $(lex_ver 3.8.10) ] \
if [ $(lex_ver $_ver) -ge $(lex_ver 3.8.10) ] \
&& [ $(lex_ver $_ver) -lt $(lex_ver 3.10.0) ]; then
py_osx_ver="10.9"
if [ $(uname -m) == "x86_64" ]; then
py_osx_ver="10.9"
else
py_osx_ver="11.0"
fi
else
py_osx_ver=$(macpython_sdk_for_version $py_version)
fi
Expand Down

0 comments on commit 3c43a83

Please sign in to comment.