Server-Root/libraries/build_protobuf.sh
WolverinDEV 50c67bf396 updates
2018-11-14 20:49:43 +01:00

8 lines
241 B
Bash
Executable File

cd protobuf
git checkout 3.5.1.1
cd build
cmake ../cmake/ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC ${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" ${CMAKE_OPTIONS}
make ${CMAKE_MAKE_OPTIONS}
sudo make install
sudo ldconfig