Skip to content

Commit c0a3450

Browse files
committed
Add explanation for workaround in build script
This also removes the unused MONO_OPTIONS export.
1 parent 84bd7ae commit c0a3450

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.libgit2sharp.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
EXTRADEFINE="$1"
44

5-
export MONO_OPTIONS=--debug
6-
export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/LibGit2Sharp/bin/Release:$LD_LIBRARY_PATH
5+
# Exporting a dummy value with ':' works around a linux mono bug where it
6+
# can't find libgit when the libgit2sharp assembly has been shadow copied.
7+
# This appears to only be a problem on linux and not osx.
8+
export LD_LIBRARY_PATH=:
79

810
# Required for NuGet package restore to run.
911
mozroots --import --sync

0 commit comments

Comments
 (0)