Server-Root/libraries/build_protobuf.sh
WolverinDEV c9f5605957 updates
2018-08-09 12:38:44 +02:00

13 lines
266 B
Bash
Executable File

cd protobuf
if [ -f build/src/.libs/libprotobuf.a ]; then
echo "protobuf already builded!"
exit 0
fi
./autogen.sh
cd build
../configure
make -DCMAKE_CXX_FLAGS="${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" ${MAKE_OPTIONS}
#make check
sudo make install
sudo ldconfig