diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-12-31 19:43:20 +0000 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-12-31 19:43:20 +0000 |
| commit | ef839080596bd9fbead5db1e91f698bebfd4024a (patch) | |
| tree | 5dbc19b7a1d5d6faa8fecf4c8b6b2c4559084d4e /script/build-libgit2-static.sh | |
| parent | db3754ce8db412a7fd82cca2d0f91ddbcf90b475 (diff) | |
Revert "Make the cgo tool do more linking work"
Diffstat (limited to 'script/build-libgit2-static.sh')
| -rwxr-xr-x | script/build-libgit2-static.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 . |
