Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linux hardcoded entry in archs.py #1648

Merged
merged 1 commit into from
Jan 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pythonforandroid/archs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from distutils.spawn import find_executable
from os import environ, uname
from os import environ
from os.path import (exists, join, dirname, split)
from glob import glob
import sys
Expand Down Expand Up @@ -172,8 +172,8 @@ def get_env(self, with_flags_in_cc=True, clang=False):
'host' + self.ctx.python_recipe.name, self.ctx)
env['BUILDLIB_PATH'] = join(
hostpython_recipe.get_build_dir(self.arch),
'build', 'lib.linux-{}-{}'.format(
uname()[-1], self.ctx.python_recipe.major_minor_version_string)
'build', 'lib.{}-{}'.format(
build_platform, self.ctx.python_recipe.major_minor_version_string)
)

env['PATH'] = environ['PATH']
Expand Down