Fix compilation of x86_64 on android when also compiling others

This commit is contained in:
Dan Gilbert 2021-07-28 16:11:45 +02:00
parent 22d20d7de7
commit d46739f641

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