diff --git a/pythonforandroid/archs.py b/pythonforandroid/archs.py index 4ab9d3c1c6..ec5a6fb3d5 100644 --- a/pythonforandroid/archs.py +++ b/pythonforandroid/archs.py @@ -2,7 +2,6 @@ from os import environ from os.path import (exists, join, dirname, split) from glob import glob -import sys from pythonforandroid.recipe import Recipe from pythonforandroid.util import BuildInterruptingException, build_platform @@ -96,10 +95,6 @@ def get_env(self, with_flags_in_cc=True, clang=False): if self.ctx.ndk == 'crystax': env['LDFLAGS'] += ' -L{}/sources/crystax/libs/{} -lcrystax'.format(self.ctx.ndk_dir, self.arch) - py_platform = sys.platform - if py_platform in ['linux2', 'linux3']: - py_platform = 'linux' - toolchain_prefix = self.ctx.toolchain_prefix toolchain_version = self.ctx.toolchain_version command_prefix = self.command_prefix