File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
external/buildscripts/add_to_build_results/monodistribution/bin Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,7 @@ export MONO_PREFIX=$(dirname $0)/..
4
4
MONO=$MONO_PREFIX/$MONOBINDIR/mono
5
5
# remove //.. pattern as it causes problem on OSX High Sierra
6
6
MONO=${MONO/\/\/\./\/\.}
7
- export LD_LIBRARY_PATH=$MONO_PREFIX/lib
7
+ LD_LIBRARY_PATH=$MONO_PREFIX/lib
8
+ [ "$MONOLIBDIR" ] && LD_LIBRARY_PATH="$MONO_PREFIX/$MONOLIBDIR:$LD_LIBRARY_PATH"
9
+ export LD_LIBRARY_PATH
10
+ [ "$MONOETCDIR" ] && export MONO_CONFIG=$MONO_PREFIX/$MONOETCDIR/mono/config
Original file line number Diff line number Diff line change 1
1
MONOBINDIR=bin
2
+ MONOLIBDIR=
3
+ MONOETCDIR=
2
4
3
- os=$(uname -a )
5
+ os=$(uname -s )
4
6
variant=$(uname -m)
5
7
6
8
case "$os" in
7
- *GNU/ Linux* )
9
+ Linux)
8
10
if [ "$variant" = "x86_64" ]; then
9
- MONOBINDIR=bin-linux64
11
+ MONOBINDIR=bin-linux64
12
+ MONOLIBDIR=../embedruntimes/linux64
13
+ MONOETCDIR=etc-linux64
10
14
else
11
- MONOBINDIR=bin-linux32
15
+ MONOBINDIR=bin-linux32
16
+ MONOLIBDIR=../embedruntimes/linux32
17
+ MONOETCDIR=etc-linux32
12
18
fi
13
19
;;
14
20
esac
You can’t perform that action at this time.
0 commit comments