X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=runtime%2Fmono-wrapper.in;h=eb6cd895921f9eaa9eec3b678180f6483d211563;hb=b2b4ea5f306f440332fd6cb1e12d0148d24a99ec;hp=4ea240ef3358bd8a94e3269fe86ec51133ed375c;hpb=234225d112c4b018b8d1796f4c06a15812137500;p=mono.git diff --git a/runtime/mono-wrapper.in b/runtime/mono-wrapper.in index 4ea240ef335..eb6cd895921 100644 --- a/runtime/mono-wrapper.in +++ b/runtime/mono-wrapper.in @@ -1,6 +1,7 @@ #! /bin/sh r='@mono_build_root@' MONO_CFG_DIR='@mono_cfg_dir@' +PATH="$r/runtime/_tmpinst/bin:$PATH" MONO_SHARED_DIR=$r/runtime -export MONO_CFG_DIR MONO_SHARED_DIR -exec "$r/libtool" --mode=execute "$r/@mono_runtime@" --config "$r/runtime/wrapper-config" "$@" +export MONO_CFG_DIR MONO_SHARED_DIR PATH +exec "$r/libtool" --mode=execute "$r/@mono_runtime@" --config "@mono_cfg_dir@/mono/config" "$@"