Skip to content

Commit a15598c

Browse files
authored
Merge pull request #1648 from opacam/fix-hardcoded-linux-archs
Fix linux hardcoded entry in archs.py
2 parents 603f8d9 + 7b2ef67 commit a15598c

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)