File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,22 @@ https://docs.google.com/spreadsheet/ccc?key=0AjvShWAWqvfHdDRneEtIUF9GRUZMNVVVR1h
19
19
20
20
```
21
21
# build libgit2.a
22
+ ## For 32bit systems
22
23
git submodule init && git submodule update
23
24
mkdir libgit2/build
24
25
cd libgit2/build
25
26
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF ..
26
27
cmake --build .
27
28
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
+
28
38
# build php-git2
29
39
cd ../../
30
40
phpize
@@ -115,4 +125,4 @@ document will generate later. please check source code before publish docs.
115
125
116
126
## LICENSE
117
127
118
- MIT License
128
+ MIT License
You can’t perform that action at this time.
0 commit comments