From e272de87084aa70b9fcfebd646f9a8fb7f59e6ff Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 17 Mar 2022 09:23:01 +0100 Subject: [PATCH] dist: Fix accidental error message with x86_64 ABI with Android [skip ci] --- direct/src/dist/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/dist/commands.py b/direct/src/dist/commands.py index 02289a4ee8..7019fbfef2 100644 --- a/direct/src/dist/commands.py +++ b/direct/src/dist/commands.py @@ -459,13 +459,13 @@ class build_apps(setuptools.Command): if self.android_abis: for abi in self.android_abis: - assert abi not in ('mips64', 'x86_64', 'arm64-v8a'), \ + assert abi not in ('mips64', 'x86-64', 'arm64-v8a'), \ f'{abi} was not a valid Android ABI before Android 21!' else: self.android_abis = ['armeabi-v7a', 'x86'] elif not self.android_abis: - self.android_abis = ['arm64-v8a', 'armeabi-v7a', 'x86_64', 'x86'] + self.android_abis = ['arm64-v8a', 'armeabi-v7a', 'x86-64', 'x86'] supported_abis = 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86-64', 'mips', 'mips64' unsupported_abis = set(self.android_abis) - set(supported_abis)