Skip to content

Commit 95f57ee

Browse files
committed
Update build.libgit2sharp.sh
Updated the message about why the LD_LIBRARY_PATH setting is needed, and made it clearer that the current working directory is the value that is required.
1 parent 8fb0c77 commit 95f57ee

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

build.libgit2sharp.sh

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

33
EXTRADEFINE="$1"
44

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=:
5+
# Setting LD_LIBRARY_PATH to the current working directory is needed to run
6+
# the tests successfully in linux. Without this, mono can't find libgit when
7+
# the libgit2sharp assembly has been shadow copied. OS X includes the current
8+
# working directory in its library search path, so it works without this value.
9+
export LD_LIBRARY_PATH=.
910

1011
# Required for NuGet package restore to run.
1112
mozroots --import --sync

0 commit comments

Comments
 (0)