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 f29cc3ee72
commit 6689f1a3d0

View file

@ -272,7 +272,8 @@ 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')
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') include_dir = join(sqlite3_build_dir, 'include')
if stage < 1.3: if stage < 1.3: