ffmpeg-kit/scripts/android/cpu-features.sh
2020-10-25 14:40:54 +00:00

14 lines
316 B
Bash
Executable File

#!/bin/bash
# ENABLE COMMON FUNCTIONS
. "${BASEDIR}"/scripts/function-android.sh
LIB_NAME="cpu-features"
set_toolchain_paths ${LIB_NAME}
cd "${BASEDIR}"/src/${LIB_NAME} || exit 1
$(android_ndk_cmake) -DBUILD_PIC=ON || exit 1
make -C "$(get_android_build_dir)" install || exit 1
create_cpufeatures_package_config