X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2b154e39165e74ff8a651bf5289b3b6a167a0d7..fa28826dd3836d6d50c92ca8de1e97dd4c8cf3bc:/wxPython/b.win32 diff --git a/wxPython/b.win32 b/wxPython/b.win32 index 2059a8a45f..8444a1dece 100644 --- a/wxPython/b.win32 +++ b/wxPython/b.win32 @@ -1,8 +1,14 @@ #!/bin/bash # ---------------------------------------------------------------------- +# To Robin: I tried to avoid making any changes to the existing +# build scripts, but my env requires me to specify Windows paths... +# if this breaks something at your end, let me know and we can +# figure out some solution for both of us. +if [ "$SWIGDIR" = "" ]; then + SWIGDIR=$PROJECTS\\SWIG-1.3.27 +fi -FLAGS="USE_SWIG=1 SWIG=$PROJECTS/SWIG-cvs/swig.exe" # Use non-default python? case $1 in @@ -20,6 +26,22 @@ SETUP="$PYTHON -u setup.py" $PYTHON -c "import sys;print '\n', sys.version, '\n'" +FLAGS="USE_SWIG=1 SWIG=$SWIGDIR\\swig.exe" +UNIFLAG="UNICODE=1" + +for p in $*; do + if [ "$p" = "UNICODE=0" -o "$p" = "UNICODE=1" ]; then + UNIFLAG="" + break + fi +done + +FLAGS="$FLAGS $UNIFLAG" + + + + + # "c" --> clean if [ "$1" = "c" ]; then