diff --git a/libraries/build_datapipes.sh b/libraries/build_datapipes.sh index 9ce85d2..4c6657c 100755 --- a/libraries/build_datapipes.sh +++ b/libraries/build_datapipes.sh @@ -37,6 +37,6 @@ fi _cxx_options="" [[ ${build_os_type} != "win32" ]] && _cxx_options="-fPIC -static-libgcc -static-libstdc++" [[ ${build_os_type} == "win32" ]] && _cxx_options="-DWIN32" -cmake_build ${library_path} -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}" -DBUILD_STATIC=0 -DBUILD_SHARED=1 +cmake_build ${library_path} -DCrypto_ROOT_DIR="`pwd`/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="`pwd`/libnice/linux_${build_os_arch}" -DGLIBC_PREBUILD_PATH="`pwd`/glibc/linux_${build_os_arch}" -DBUILD_STATIC=0 -DBUILD_SHARED=1 check_err_exit ${library_path} "Failed to build DataPipes!" set_build_successful ${library_path}