update
This commit is contained in:
parent
e6145e43d8
commit
98cb90be77
@ -1,12 +1,5 @@
|
|||||||
cd protobuf
|
cd protobuf/build
|
||||||
if [ -f build/src/.libs/libprotobuf.a ]; then
|
cmake ../cmake/ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC ${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" ${CMAKE_OPTIONS}
|
||||||
echo "protobuf already builded!"
|
make ${CMAKE_MAKE_OPTIONS}
|
||||||
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 make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user