Fixed libfvad

This commit is contained in:
WolverinDEV 2019-07-05 21:22:51 +02:00
parent 58f0e35209
commit a342a4d941
5 changed files with 16 additions and 2 deletions

2
client

@ -1 +1 @@
Subproject commit 3807c26d609c85939fe9073112d22ec9880b66a6
Subproject commit 2ac12a77b86c3637d29826f29ac51c70e361582d

2
shared

@ -1 +1 @@
Subproject commit 29bd5e55c4c62c0412560edef0467957b5075da8
Subproject commit 5606fc3d8f9ba4e489cbf2d7918b33349114583c

View File

@ -31,6 +31,7 @@ exec_script build_ed25519.sh
exec_script build_jsoncpp.sh
#exec_script build_mysqlconnector.sh
exec_script build_opus.sh
exec_script build_libfvad.sh
exec_script build_soxr.sh
exec_script build_portaudio.sh
exec_script build_protobuf.sh

13
third_party/build_libfvad.sh vendored Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
source ../scripts/build_helper.sh
library_path="libfvad"
requires_rebuild ${library_path}
[[ $? -eq 0 ]] && exit 0
_fpic=""
[[ ${build_os_type} == "linux" ]] && _fpic="-fPIC"
cmake_build ${library_path} -DCMAKE_C_FLAGS="${_fpic}" -DBUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="${_fpic}" -DBUILD_TESTS=OFF -DBUILD_SHARED=OFF -DBUILD_STATIC=ON -DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release
check_err_exit ${library_path} "Failed to build ed25519!"
set_build_successful ${library_path}