From ef839080596bd9fbead5db1e91f698bebfd4024a Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Wed, 31 Dec 2014 19:43:20 +0000 Subject: Revert "Make the cgo tool do more linking work" --- script/build-libgit2-static.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/build-libgit2-static.sh') diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh index 0a6c39f..5723721 100755 --- a/script/build-libgit2-static.sh +++ b/script/build-libgit2-static.sh @@ -4,7 +4,7 @@ set -ex VENDORED_PATH=vendor/libgit2 -cd "$VENDORED_PATH" && +cd $VENDORED_PATH && mkdir -p install/lib && mkdir -p build && cd build && @@ -13,7 +13,7 @@ cmake -DTHREADSAFE=ON \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_C_FLAGS=-fPIC \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_INSTALL_PREFIX=. \ + -DCMAKE_INSTALL_PREFIX=../install \ .. && cmake --build . -- cgit v1.2.3