From cc7fc0bb0613e9dc167fdcec1a88c935e6c0cd8c Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Sat, 22 Jul 2023 15:32:06 +0200 Subject: [PATCH] build_platform should be all-lowercase --- pythonforandroid/util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pythonforandroid/util.py b/pythonforandroid/util.py index df4e79f810..713c2b46c0 100644 --- a/pythonforandroid/util.py +++ b/pythonforandroid/util.py @@ -8,8 +8,9 @@ from pythonforandroid.logger import (logger, Err_Fore, error, info) -build_platform = '{system}-{machine}'.format( - system=uname().system, machine=uname().machine.lower()) +build_platform = "{system}-{machine}".format( + system=uname().system, machine=uname().machine +).lower() """the build platform in the format `system-machine`. We use this string to define the right build system when compiling some recipes or to get the right path for clang compiler"""