Fixed dp build script
This commit is contained in:
		
							parent
							
								
									864cc80759
								
							
						
					
					
						commit
						1911ea1b9d
					
				@ -46,6 +46,7 @@ function exec_script_external() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    echo -e "Building library with script $color_green${1}$color_normal"
 | 
					    echo -e "Building library with script $color_green${1}$color_normal"
 | 
				
			||||||
    _prefix="library_path=\"$2\" ${*:3}"
 | 
					    _prefix="library_path=\"$2\" ${*:3}"
 | 
				
			||||||
 | 
					    echo "> $_prefix ./${build_helper_scripts}/\"${1}\""
 | 
				
			||||||
    eval $_prefix ./${build_helper_scripts}/"${1}"
 | 
					    eval $_prefix ./${build_helper_scripts}/"${1}"
 | 
				
			||||||
    code=$?
 | 
					    code=$?
 | 
				
			||||||
    if [[ $code -ne 0 ]]; then
 | 
					    if [[ $code -ne 0 ]]; then
 | 
				
			||||||
 | 
				
			|||||||
@ -31,9 +31,13 @@ if [[ ${build_os_type} != "win32" && "${_datapipes_webrtc}" == "ON" ]]; then
 | 
				
			|||||||
    echo "Building dependencies"
 | 
					    echo "Building dependencies"
 | 
				
			||||||
    ./build_usrsctp.sh
 | 
					    ./build_usrsctp.sh
 | 
				
			||||||
    check_err_exit ${library_path} "Failed to build usrsctp!"
 | 
					    check_err_exit ${library_path} "Failed to build usrsctp!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ./build_srtp.sh
 | 
					    ./build_srtp.sh
 | 
				
			||||||
    check_err_exit ${library_path} "Failed to build srtp!"
 | 
					    check_err_exit ${library_path} "Failed to build srtp!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    ./build_sdptransform.sh
 | 
				
			||||||
 | 
					    check_err_exit ${library_path} "Failed to build sdptransform!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cd ..
 | 
					    cd ..
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    glib20_dir=$(realpath "$(pwd)/glibc/linux_${build_os_arch}/")
 | 
					    glib20_dir=$(realpath "$(pwd)/glibc/linux_${build_os_arch}/")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user