8000 Fix linux hardcoded entry in archs.py · pygame/python-for-android@7b2ef67 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b2ef67

Browse files
committed
Fix linux hardcoded entry in archs.py
I forgot to include this in pr `Fix hardcoded entries (build platform) for core modules: archs and python` (kivy#1597) References: `Fix build platform hardcoded flags for archs.py` (f570def)
1 parent fd3e844 commit 7b2ef67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pythonforandroid/archs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from distutils.spawn import find_executable
2-
from os import environ, uname
2+
from os import environ
33
from os.path import (exists, join, dirname, split)
44
from glob import glob
55
import sys
@@ -172,8 +172,8 @@ def get_env(self, with_flags_in_cc=True, clang=False):
172172
'host' + self.ctx.python_recipe.name, self.ctx)
173173
env['BUILDLIB_PATH'] = join(
174174
hostpython_recipe.get_build_dir(self.arch),
175-
'build', 'lib.linux-{}-{}'.format(
176-
uname()[-1], self.ctx.python_recipe.major_minor_version_string)
175+
'build', 'lib.{}-{}'.format(
176+
build_platform, self.ctx.python_recipe.major_minor_version_string)
177177
)
178178

179179
env['PATH'] = environ['PATH']

0 commit comments

Comments
 (0)
0