update
This commit is contained in:
parent
e6145e43d8
commit
98cb90be77
@ -1,12 +1,5 @@
|
||||
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
|
||||
cd protobuf/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
|
||||
|
Loading…
Reference in New Issue
Block a user