Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mono-wrapper.in « runtime - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ec4811fb5d03657a1bd71f85d6dad373891235f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
r='@mono_build_root@'
MONO_CFG_DIR='@mono_cfg_dir@'
PATH="$r/runtime/_tmpinst/bin:$PATH"
export MONO_CFG_DIR PATH
if [ -n "@nacl_self_host@" ]; then
  case "$@" in
    # gacutil.exe and mdoc.exe require filesystem functionality not
    # exposed in NaCl.
    # mcs.exe was added to the list recently because mcs under NaCl
    # no longer produces equivalent output. TODO: investigate
    */mcs.exe* | */gacutil.exe* | */mdoc.exe* ) exec /usr/local/bin/mono "$@";;
  esac
fi
exec "$r/libtool" --mode=execute "$r/@mono_runtime@" --config "@mono_cfg_dir@/mono/config" "$@"