From 9c30d41e406c9a75f560b15ea8e63691551b4308 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 14 Feb 2025 17:57:12 -0600 Subject: [PATCH] using /opt/libgit2 for test builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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