support 32bit linux

This commit is contained in:
j 2014-05-17 20:13:58 +02:00
commit a85bf6489d
2 changed files with 21 additions and 16 deletions

4
ctl
View file

@ -9,7 +9,11 @@ if [ -e oml ]; then
fi
BASE=`pwd`
SYSTEM=`uname -s`
PLATFORM=`uname -m`
if [ $SYSTEM == "Linux" ]; then
SYSTEM="${SYSTEM}_${PLATFORM}"
fi
export PLATFORM_ENV="$BASE/platform/$SYSTEM"
if [ $SYSTEM == "Darwin" ]; then
export DYLD_FALLBACK_LIBRARY_PATH="$PLATFORM_ENV/lib"