Skip to content

Commit 5b5d1e6

Browse files
committed
update libgit2 to cygwin copy instruction
1 parent d55b868 commit 5b5d1e6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

LIBGIT_NOTES.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ cmake -DCMAKE_INSTALL_PREFIX=../install \
5656
cmake --build . --target install
5757
```
5858

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`
6364

6465
Following the above steps will make `libgit2` available as a shared library for `git2go`.
6566

@@ -70,7 +71,7 @@ Make sure you have the following packages installed on your system
7071
- [cmake](https://cmake.org/download/)
7172
- [curl](https://curl.se/)
7273
- [wget](https://www.gnu.org/software/wget/)
73-
- A suitable C/C++ compiler
74+
- [gcc](https://gcc.gnu.org/)
7475

7576
Make sure you have required rights for running the following commands. If any of these fail due to access errors, then
7677
try with `sudo`
@@ -112,5 +113,6 @@ Download and setup [brew](https://brew.sh/) to install all the required packages
112113
- [cmake](https://formulae.brew.sh/formula/cmake)
113114
- [curl](https://formulae.brew.sh/formula/curl)
114115
- [wget](https://formulae.brew.sh/formula/wget)
116+
- [gcc](https://gcc.gnu.org/)
115117

116118
Once the packages are setup, run the same commands mentioned above for Linux to setup libgit2

0 commit comments

Comments
 (0)