]> git.saurik.com Git - wxWidgets.git/commitdiff
Removing hardcoded ansi and 2.3 support for Mac build scripts.
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 21 Sep 2005 04:43:48 +0000 (04:43 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 21 Sep 2005 04:43:48 +0000 (04:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/build_packages.sh

index c5130d1d918a2286ef2eeebb3036605066fe977c..1d02ef607938843a8c9709f0d8d87fb77ef6c14b 100755 (executable)
@@ -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."