Skip to content

Commit

Permalink
Use same python for macos intel and universal
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 29, 2023
1 parent 9534e2b commit 986636b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions bootstrap-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,10 @@ fi
PYTHON_EXTRAFLAGS=""

if [ "${MACOS}" -eq 1 ]; then
if [ "${MACOS_UNIVERSAL}" -eq 1 ]; then
PYTHON_EXTRAFLAGS+=" --enable-optimizations"
PYTHON_EXTRAFLAGS+=" ac_cv_lib_intl_textdomain=no"
PYTHON_EXTRAFLAGS+=" ac_cv_header_libintl_h=no"
PYTHON_EXTRAFLAGS+=" ac_cv_func_setlocale=no"
fi
PYTHON_EXTRAFLAGS+=" --enable-optimizations"
PYTHON_EXTRAFLAGS+=" ac_cv_lib_intl_textdomain=no"
PYTHON_EXTRAFLAGS+=" ac_cv_header_libintl_h=no"
PYTHON_EXTRAFLAGS+=" ac_cv_func_setlocale=no"
PYTHON_EXTRAFLAGS+=" ac_cv_func_futimens=no"
PYTHON_EXTRAFLAGS+=" ac_cv_func_preadv=no"
PYTHON_EXTRAFLAGS+=" ac_cv_func_pwritev=no"
Expand Down
2 changes: 1 addition & 1 deletion setup/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ else
FILE_VERSION=5.34
fi

if [ "${LINUX}" -eq 1 ] || [ "${MACOS_UNIVERSAL}" -eq 1 ]; then
if [ "${LINUX}" -eq 1 ] || [ "${MACOS}" -eq 1 ]; then
CXFREEZE_VERSION=a59a0f6c476554c1a789de2a9f6f77329d6a6dd1 # 6.8.4
PYTHON_VERSION=3.9.5
PYLIBLO_VERSION=0.10.0
Expand Down

0 comments on commit 986636b

Please sign in to comment.