From: Kevin Ollivier Date: Wed, 21 Sep 2005 04:43:48 +0000 (+0000) Subject: Removing hardcoded ansi and 2.3 support for Mac build scripts. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fc87210f7d3b4524196a9827888ea51dc314d539 Removing hardcoded ansi and 2.3 support for Mac build scripts. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/distrib/build_packages.sh b/wxPython/distrib/build_packages.sh index c5130d1d91..1d02ef6079 100755 --- a/wxPython/distrib/build_packages.sh +++ b/wxPython/distrib/build_packages.sh @@ -83,7 +83,17 @@ elif [ "$OSTYPE" = "darwin" ]; then # re-generate SWIG files ./b $PY_VERSION t - sudo distrib/mac/wxPythonOSX/build 2.3 panther inplace + PY_DOT_VER=2.3 + if [ "$PY_VERSION" = "24" ]; then + PY_DOT_VER=2.4 + fi + + UNICODE_OPT= + if [ "$UNICODE" = "1" ]; then + UNICODE_OPT=unicode + fi + + sudo distrib/mac/wxPythonOSX/build $PY_DOT_VER panther inplace $UNICODE_OPT exit else echo "OSTYPE $OSTYPE not yet supported by this build script."