use UNICODE=1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,7 +9,6 @@ if [ "$SWIGDIR" = "" ]; then
|
||||
SWIGDIR=$PROJECTS\\SWIG-1.3.27
|
||||
fi
|
||||
|
||||
FLAGS="USE_SWIG=1 SWIG=$SWIGDIR\\swig.exe"
|
||||
|
||||
# Use non-default python?
|
||||
case $1 in
|
||||
@@ -27,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
|
||||
|
Reference in New Issue
Block a user