Fixed dp build script

This commit is contained in:
WolverinDEV 2020-03-02 12:48:17 +00:00
parent 864cc80759
commit 1911ea1b9d
2 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,7 @@ function exec_script_external() {
echo -e "Building library with script $color_green${1}$color_normal"
_prefix="library_path=\"$2\" ${*:3}"
echo "> $_prefix ./${build_helper_scripts}/\"${1}\""
eval $_prefix ./${build_helper_scripts}/"${1}"
code=$?
if [[ $code -ne 0 ]]; then

View File

@ -31,9 +31,13 @@ if [[ ${build_os_type} != "win32" && "${_datapipes_webrtc}" == "ON" ]]; then
echo "Building dependencies"
./build_usrsctp.sh
check_err_exit ${library_path} "Failed to build usrsctp!"
./build_srtp.sh
check_err_exit ${library_path} "Failed to build srtp!"
./build_sdptransform.sh
check_err_exit ${library_path} "Failed to build sdptransform!"
cd ..
glib20_dir=$(realpath "$(pwd)/glibc/linux_${build_os_arch}/")