don't copy Android.mk for openssl recipe if it already exists

This commit is contained in:
Akinwale Ariwodola 2021-08-22 09:23:45 +01:00
parent 637cab527c
commit 9c7a722cb9

View file

@ -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: