@@ -56,10 +56,11 @@ cmake -DCMAKE_INSTALL_PREFIX=../install \
56
56
cmake --build . --target install
57
57
```
58
58
59
- - After the command completes execution
60
- - copy the ` git2.dll ` from ` ../bin/ ` to ` <cygwin>/bin ` folder
61
- - copy ` git2.lib ` from ` ../lib ` to ` <cygwin>/lib ` folder
62
- - copy ` libgit2.pc ` from ` ../lib/pkgconfig ` to ` <cygwin>/lib/pkgconfig `
59
+ - After the command completes execution, the required DLL and libs for libgit2 will be available
60
+ in ` <libgit2_root>/install ` folder
61
+ - copy the ` git2.dll ` from ` install/bin/ ` to ` <cygwin>/bin ` folder
62
+ - copy ` git2.lib ` from ` install/lib ` to ` <cygwin>/lib ` folder
63
+ - copy ` libgit2.pc ` from ` install/lib/pkgconfig ` to ` <cygwin>/lib/pkgconfig `
63
64
64
65
Following the above steps will make ` libgit2 ` available as a shared library for ` git2go ` .
65
66
@@ -70,7 +71,7 @@ Make sure you have the following packages installed on your system
70
71
- [ cmake] ( https://cmake.org/download/ )
71
72
- [ curl] ( https://curl.se/ )
72
73
- [ wget] ( https://www.gnu.org/software/wget/ )
73
- - A suitable C/C++ compiler
74
+ - [ gcc ] ( https://gcc.gnu.org/ )
74
75
75
76
Make sure you have required rights for running the following commands. If any of these fail due to access errors, then
76
77
try with ` sudo `
@@ -112,5 +113,6 @@ Download and setup [brew](https://brew.sh/) to install all the required packages
112
113
- [ cmake] ( https://formulae.brew.sh/formula/cmake )
113
114
- [ curl] ( https://formulae.brew.sh/formula/curl )
114
115
- [ wget] ( https://formulae.brew.sh/formula/wget )
116
+ - [ gcc] ( https://gcc.gnu.org/ )
115
117
116
118
Once the packages are setup, run the same commands mentioned above for Linux to setup libgit2
0 commit comments