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,6 +285,7 @@ class Python3Recipe(TargetPythonRecipe):
if mk_path is None: if mk_path is None:
raise IOError('Android.mk file could not be found in ' raise IOError('Android.mk file could not be found in '
'any versions in ndk->sources->sqlite') 'any versions in ndk->sources->sqlite')
if not ssl_recipe.version in mk_path:
shprint(sh.cp, '-f', mk_path, sqlite3_ndk_dir) shprint(sh.cp, '-f', mk_path, sqlite3_ndk_dir)
include_dir = join(sqlite3_build_dir, 'include') include_dir = join(sqlite3_build_dir, 'include')