Server-Root/libraries/build_datapipes.sh

10 lines
531 B
Bash
Raw Normal View History

2018-08-08 10:21:32 -04:00
cd DataPipes/
sudo apt-get install libnice-dev
./build_usrsctp.sh
2018-09-23 16:41:32 -04:00
./build_srtp.sh
2018-09-23 16:55:35 -04:00
./build_sdptransform.sh
2018-08-08 10:21:32 -04:00
cd build
2019-11-11 16:22:15 -05:00
cmake .. -DCrypto_ROOT_DIR="../../boringssl/" -DCRYPTO_TYPE="boringssl" -DCMAKE_CXX_FLAGS="-fPIC -static-libgcc -static-libstdc++ ${CXX_FLAGS}" -DBUILD_TESTS=OFF -DCMAKE_C_FLAGS="${C_FLAGS} -fPIC" -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" ${CMAKE_OPTIONS} -DLIBNICE_PREBUILD_PATH="../libnice/linux_${build_os_arch}" -DGLIBC_PREBUILD_PATH="../glibc/linux_${build_os_arch}"
2018-08-09 06:38:44 -04:00
make ${CMAKE_MAKE_OPTIONS}
2018-08-08 15:51:41 -04:00
sudo make install