support 32bit linux
This commit is contained in:
parent
edde887357
commit
a85bf6489d
2 changed files with 21 additions and 16 deletions
4
ctl
4
ctl
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue