You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "how to build" instructions in the readme file will probably work fine on 32bits machines, however compiling a static version of libgit2 to then compile a dynamic php module will not work (linker will complain about -fPIC).
Easy fix by replacining line
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF ..
with:
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC ..
The text was updated successfully, but these errors were encountered:
The "how to build" instructions in the readme file will probably work fine on 32bits machines, however compiling a static version of libgit2 to then compile a dynamic php module will not work (linker will complain about -fPIC).
Easy fix by replacining line
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF ..
with:
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC ..
The text was updated successfully, but these errors were encountered: