SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts

SDK BUG 2232091

Change-Id: I2a000054545b7865769054d1fdc733e50f06edd5
This commit is contained in:
Raphael
2009-11-02 14:54:29 -08:00
parent 0dd85d89fa
commit 4bf2ce27a0
3 changed files with 12 additions and 0 deletions

View File

@@ -71,6 +71,10 @@ else
os_opts=
fi
if [ `uname` = "Linux" ]; then
export GDK_NATIVE_WINDOWS=true
fi
jarpath="$frameworkdir/$jarfile"
# Figure out the path to the swt.jar for the current architecture.

View File

@@ -71,6 +71,10 @@ else
os_opts=
fi
if [ `uname` = "Linux" ]; then
export GDK_NATIVE_WINDOWS=true
fi
if [ "$OSTYPE" = "cygwin" ] ; then
jarpath=`cygpath -w "$frameworkdir/$jarfile"`
progdir=`cygpath -w "$progdir"`

View File

@@ -63,6 +63,10 @@ else
javaOpts="-Xmx1600M"
fi
if [ `uname` = "Linux" ]; then
export GDK_NATIVE_WINDOWS=true
fi
while expr "x$1" : 'x-J' >/dev/null; do
opt=`expr "$1" : '-J\(.*\)'`
javaOpts="${javaOpts} -${opt}"