diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-07 12:51:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-07 12:51:24 +0300 |
commit | 456614e6452757d557ab1dcd04c15101a0d830aa (patch) | |
tree | 743bb16ba6e6fcd590580950a05f6387ac89c061 /extra/libgit2 | |
parent | bd1d4e77e4cc47071e5cece965ec778c36de48a2 (diff) | |
download | repository-456614e6452757d557ab1dcd04c15101a0d830aa.tar.gz |
libgit2: fix build style, library location, and install static libraries
Diffstat (limited to 'extra/libgit2')
-rwxr-xr-x | extra/libgit2/build | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extra/libgit2/build b/extra/libgit2/build index acd4c60d..08881c65 100755 --- a/extra/libgit2/build +++ b/extra/libgit2/build @@ -1,12 +1,12 @@ #!/bin/sh -e export DESTDIR="$1" -mkdir build && cd build -cmake \ +cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - .. + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=OFF \ + -DCMAKE_BUILD_TYPE=Release -cmake --build . -cmake --install . +cmake --build build +cmake --install build |