am 4bf2ce27: SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts
Merge commit '4bf2ce27a00c564daf0831c16769ee1ca259ddc7' into eclair * commit '4bf2ce27a00c564daf0831c16769ee1ca259ddc7': SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts
This commit is contained in:
@@ -71,6 +71,10 @@ else
|
|||||||
os_opts=
|
os_opts=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ `uname` = "Linux" ]; then
|
||||||
|
export GDK_NATIVE_WINDOWS=true
|
||||||
|
fi
|
||||||
|
|
||||||
jarpath="$frameworkdir/$jarfile"
|
jarpath="$frameworkdir/$jarfile"
|
||||||
|
|
||||||
# Figure out the path to the swt.jar for the current architecture.
|
# Figure out the path to the swt.jar for the current architecture.
|
||||||
|
|||||||
@@ -71,6 +71,10 @@ else
|
|||||||
os_opts=
|
os_opts=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ `uname` = "Linux" ]; then
|
||||||
|
export GDK_NATIVE_WINDOWS=true
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$OSTYPE" = "cygwin" ] ; then
|
if [ "$OSTYPE" = "cygwin" ] ; then
|
||||||
jarpath=`cygpath -w "$frameworkdir/$jarfile"`
|
jarpath=`cygpath -w "$frameworkdir/$jarfile"`
|
||||||
progdir=`cygpath -w "$progdir"`
|
progdir=`cygpath -w "$progdir"`
|
||||||
|
|||||||
@@ -63,6 +63,10 @@ else
|
|||||||
javaOpts="-Xmx1600M"
|
javaOpts="-Xmx1600M"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ `uname` = "Linux" ]; then
|
||||||
|
export GDK_NATIVE_WINDOWS=true
|
||||||
|
fi
|
||||||
|
|
||||||
while expr "x$1" : 'x-J' >/dev/null; do
|
while expr "x$1" : 'x-J' >/dev/null; do
|
||||||
opt=`expr "$1" : '-J\(.*\)'`
|
opt=`expr "$1" : '-J\(.*\)'`
|
||||||
javaOpts="${javaOpts} -${opt}"
|
javaOpts="${javaOpts} -${opt}"
|
||||||
|
|||||||
Reference in New Issue
Block a user