Skip to content

Commit

Permalink
Fix linux hardcoded entry in archs.py
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
opacam committed Jan 31, 2019
1 parent fd3e844 commit 7b2ef67
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 7b2ef67

Please sign in to comment.