Merge remote-tracking branch 'origin/pr/2638' into mbedtls-2.7

* origin/pr/2638:
  Only use submodule if present
This commit is contained in:
Jaeden Amero 2019-05-14 16:20:35 +01:00
commit e58c881418

View File

@ -148,7 +148,8 @@ class AbiChecker(object):
my_environment = os.environ.copy()
my_environment["CFLAGS"] = "-g -Og"
my_environment["SHARED"] = "1"
my_environment["USE_CRYPTO_SUBMODULE"] = "1"
if os.path.exists(os.path.join(git_worktree_path, "crypto")):
my_environment["USE_CRYPTO_SUBMODULE"] = "1"
make_output = subprocess.check_output(
[self.make_command, "lib"],
env=my_environment,