Merge pull request #118 from dangilbert/development

Fix compilation of x86_64 on android when also compiling others
This commit is contained in:
Taner Şener 2021-08-03 22:53:24 +03:00 committed by GitHub
commit 03ed94d602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ export ORIGINAL_API=${API}
# BUILD ENABLED LIBRARIES ON ENABLED ARCHITECTURES
for run_arch in {0..12}; do
if [[ ${ENABLED_ARCHITECTURES[$run_arch]} -eq 1 ]]; then
if [[ (${run_arch} -eq ${ARCH_ARM64_V8A} || ${run_arch} -eq ${ARCH_X86_64}) && ${API} -lt 21 ]]; then
if [[ (${run_arch} -eq ${ARCH_ARM64_V8A} || ${run_arch} -eq ${ARCH_X86_64}) && ${ORIGINAL_API} -lt 21 ]]; then
# 64 bit ABIs supported after API 21
export API=21