projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nuke #pragma implementation/interface's
[wxWidgets.git]
/
wxPython
/
distrib
/
build_packages.sh
diff --git
a/wxPython/distrib/build_packages.sh
b/wxPython/distrib/build_packages.sh
index 1d02ef607938843a8c9709f0d8d87fb77ef6c14b..83f802cea43b1e00ed94ba55804f1f0fa58b3d6a 100755
(executable)
--- a/
wxPython/distrib/build_packages.sh
+++ b/
wxPython/distrib/build_packages.sh
@@
-3,6
+3,16
@@
PY_VERSION=$1
shift
PY_VERSION=$1
shift
+unicode=no
+debug=no
+
+for flag in $*; do
+ case ${flag} in
+ debug) debug=yes ;;
+ unicode) unicode=yes ;;
+ esac
+done
+
if [ "$WXWIN" = "" ]; then
export WXWIN=`pwd`/../..
fi
if [ "$WXWIN" = "" ]; then
export WXWIN=`pwd`/../..
fi
@@
-32,7
+42,7
@@
if [ "$OSTYPE" = "cygwin" ]; then
# remove old build files
rm -rf vc_msw*
UNI=
# remove old build files
rm -rf vc_msw*
UNI=
- if [
"$UNICODE" != ""
]; then
+ if [
$unicode = yes
]; then
UNI=-uni
fi
./.make hybrid$UNI
UNI=-uni
fi
./.make hybrid$UNI
@@
-67,7
+77,7
@@
if [ "$OSTYPE" = "cygwin" ]; then
if [ "$DEBUG" != "" ]; then
DEBUG_FLAG=--debug
fi
if [ "$DEBUG" != "" ]; then
DEBUG_FLAG=--debug
fi
- if [
"$UNICODE" != ""
]; then
+ if [
$unicode = yes
]; then
UNICODE_FLAG="UNICODE=1"
fi
b $PY_VERSION h $DEBUG_FLAG $UNICODE_FLAG
UNICODE_FLAG="UNICODE=1"
fi
b $PY_VERSION h $DEBUG_FLAG $UNICODE_FLAG
@@
-89,7
+99,7
@@
elif [ "$OSTYPE" = "darwin" ]; then
fi
UNICODE_OPT=
fi
UNICODE_OPT=
- if [
"$UNICODE" = "1"
]; then
+ if [
$unicode = yes
]; then
UNICODE_OPT=unicode
fi
UNICODE_OPT=unicode
fi