Skip to content

Commit 58b0150

Browse files
author
agilewalker
committed
Fix Python 3.6 build only with openssl enabled
1 parent 1529548 commit 58b0150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/python3crystax/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Python3Recipe(TargetPythonRecipe):
7070
from_crystax = True
7171

7272
def download_if_necessary(self):
73-
if 'openssl' in self.ctx.recipe_build_order:
73+
if 'openssl' in self.ctx.recipe_build_order or self.version == '3.6':
7474
full_version = LATEST_FULL_VERSION[self.version]
7575
Python3Recipe.url = 'https://www.python.org/ftp/python/{0}.{1}.{2}/Python-{0}.{1}.{2}.tgz'.format(*full_version.split('.'))
7676
super(Python3Recipe, self).download_if_necessary()

0 commit comments

Comments
 (0)