Skip to content

Commit b53412d

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` (#1597) References: `Fix build platform hardcoded flags for archs.py` (f570def)
1 parent fd3e844 commit b53412d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/archs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)