Server-Root/libraries/build_datapipes.sh
2018-09-23 22:55:35 +02:00

10 lines
342 B
Bash
Executable File

cd DataPipes/
sudo apt-get install libnice-dev
./build_usrsctp.sh
./build_srtp.sh
./build_sdptransform.sh
cd build
cmake .. -DCMAKE_CXX_FLAGS="-I../../boringssl/include/ -DUSE_BORINGSSL -static-libgcc -static-libstdc++ ${CXX_FLAGS}" -DBUILD_TESTS=OFF -DCMAKE_C_FLAGS="${C_FLAGS}" ${CMAKE_OPTIONS}
make ${CMAKE_MAKE_OPTIONS}
sudo make install