Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (12 sloc) 0.431 kb
30036ec @nulltoken Improve XBuild compatibility on Linux
nulltoken authored
1 #!/bin/sh
2
13745b7 @nulltoken Build libgit2 as part of the mono build
nulltoken authored
3 PREVIOUS_LD=$LD_LIBRARY_PATH
4
5 mkdir cmake-build && cd cmake-build
6
7 cmake -DBUILD_SHARED_LIBS:BOOL=ON -DTHREADSAFE:BOOL=ON -DBUILD_CLAR:BOOL=OFF -DCMAKE_INSTALL_PREFIX=./libgit2-bin ../libgit2
8 cmake --build . --target install
9
10 LD_LIBRARY_PATH=$PWD/libgit2-bin/lib:$LD_LIBRARY_PATH
11 export LD_LIBRARY_PATH
12
13 cd ..
14
15 echo $LD_LIBRARY_PATH
16 xbuild CI-build.msbuild /t:Deploy
17
18 LD_LIBRARY_PATH=$PREVIOUS_LD
19 export LD_LIBRARY_PATH
Something went wrong with that request. Please try again.