From 9c7a722cb989a0d6c069260274783391d2172268 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sun, 22 Aug 2021 09:23:45 +0100 Subject: [PATCH] don't copy Android.mk for openssl recipe if it already exists --- recipes/python3crystax/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/python3crystax/__init__.py b/recipes/python3crystax/__init__.py index 574b2a9..7a2d4a6 100644 --- a/recipes/python3crystax/__init__.py +++ b/recipes/python3crystax/__init__.py @@ -285,7 +285,8 @@ class Python3Recipe(TargetPythonRecipe): if mk_path is None: raise IOError('Android.mk file could not be found in ' 'any versions in ndk->sources->sqlite') - shprint(sh.cp, '-f', mk_path, sqlite3_ndk_dir) + if not ssl_recipe.version in mk_path: + shprint(sh.cp, '-f', mk_path, sqlite3_ndk_dir) include_dir = join(sqlite3_build_dir, 'include') if stage < 1.3: