From 456614e6452757d557ab1dcd04c15101a0d830aa Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 7 Feb 2021 12:51:24 +0300 Subject: libgit2: fix build style, library location, and install static libraries --- extra/libgit2/build | 12 ++++++------ 1 file 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 -- cgit v1.2.3