diff --git a/Makefile b/Makefile index 2c70ebc..e1c5a1e 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ generate: static-build/install/lib/libgit2.a test: -go-mod-clean # go install go.wit.com/apps/go-mod-clean@latest go run script/check-MakeGitError-thread-lock.go - PKG_CONFIG_PATH=/opt/libgit2/ go test -v -x $(TEST_ARGS) ./... + LD_LIBRARY_PATH=/opt/libgit2 PKG_CONFIG_PATH=/opt/libgit2/ go test -v -x $(TEST_ARGS) ./... add-remote: git remote add git2go https://github.com/libgit2/git2go.git