Merged in rest of Native Client changes, untested
[mono.git] / runtime / mono-wrapper.in
1 #! /bin/sh
2 r='@mono_build_root@'
3 MONO_CFG_DIR='@mono_cfg_dir@'
4 PATH="$r/runtime/_tmpinst/bin:$PATH"
5 MONO_SHARED_DIR=$r/runtime
6 export MONO_NACL_ALIGN_MASK_OFF=@MONO_NACL_ALIGN_MASK_OFF@
7 export MONO_CFG_DIR MONO_SHARED_DIR PATH
8 exec "$r/libtool" --mode=execute "$r/@mono_runtime@" --config "@mono_cfg_dir@/mono/config" "$@"