Fix aom build errors

This commit is contained in:
q3aql 2021-12-30 12:36:40 +01:00
parent 36ecd00b1e
commit 4646f0fac1
2 changed files with 6 additions and 4 deletions

View File

@ -608,11 +608,12 @@ else
git clone ${lib_aom}
cd "${name_folder}"
rm -rf CMakeCache.txt CMakeFiles
mkdir -p build
cd build
mkdir -p aom_build
cd aom_build
PKG_CONFIG_PATH=${dir_build_libs}/lib/pkgconfig/ LD_LIBRARY_PATH=${dir_build_libs}/lib/ CC="${C_COMPILER}" CXX="${CXX_COMPILER}" cmake -DCMAKE_INSTALL_PREFIX="${dir_build_libs}" ..
make
make install
cd ${dir_build_libs}
rm -rfv ${name_package}
rm -rfv ${name_folder}
fi

View File

@ -608,11 +608,12 @@ else
git clone ${lib_aom}
cd "${name_folder}"
rm -rf CMakeCache.txt CMakeFiles
mkdir -p build
cd build
mkdir -p aom_build
cd aom_build
PKG_CONFIG_PATH=${dir_build_libs}/lib/pkgconfig/ LD_LIBRARY_PATH=${dir_build_libs}/lib/ CC="${C_COMPILER}" CXX="${CXX_COMPILER}" cmake -DCMAKE_INSTALL_PREFIX="${dir_build_libs}" ..
make
make install
cd ${dir_build_libs}
rm -rfv ${name_package}
rm -rfv ${name_folder}
fi