Skip to content

Commit 72510e9

Browse files
committed
README: master wants to use install-static
1 parent dc745f5 commit 72510e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ If using `master` or building a branch statically, we need to build libgit2 firs
3535
Run `go get -d github.com/libgit2/git2go` to download the code and go to your `$GOPATH/src/github.com/libgit2/git2go` directory. From there, we need to build the C code and put it into the resulting go binary.
3636

3737
git submodule update --init # get libgit2
38-
make install
38+
make install-static
3939

40-
will compile libgit2, link it into git2go and install it.
40+
will compile libgit2, link it into git2go and install it. The `master` branch is set up to follow the specific libgit2 version that is vendored, so trying dynamic linking may or may not work depending on the exact versions involved.
4141

4242
Parallelism and network operations
4343
----------------------------------

0 commit comments

Comments
 (0)