File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,12 +19,22 @@ https://docs.google.com/spreadsheet/ccc?key=0AjvShWAWqvfHdDRneEtIUF9GRUZMNVVVR1h
1919
2020```
2121# build libgit2.a
22+ ## For 32bit systems
2223git submodule init && git submodule update
2324mkdir libgit2/build
2425cd libgit2/build
2526cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF ..
2627cmake --build .
2728
29+ # For 64bit systems
30+ git submodule init && git submodule update
31+ mkdir libgit2/build
32+ cd libgit2/build
33+ cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF
34+ -DCMAKE_C_FLAGS=-fPIC ..
35+ cmake --build .
36+
37+
2838# build php-git2
2939cd ../../
3040phpize
@@ -115,4 +125,4 @@ document will generate later. please check source code before publish docs.
115125
116126## LICENSE
117127
118- MIT License
128+ MIT License
You can’t perform that action at this time.
0 commit comments