diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-06-20 13:24:41 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-06-24 11:09:36 -0400 |
commit | 5c7f42c737b0d384cf7043ea9e3343fd8f7e71fb (patch) | |
tree | 2dd5e2f4b5e0e601b7e82715643f97e9f12ddb49 /src/mongo/shell/SConscript | |
parent | e430f0b3d17a42b41c73a105717e0b63b6447a91 (diff) | |
download | mongo-5c7f42c737b0d384cf7043ea9e3343fd8f7e71fb.tar.gz |
SERVER-41837 Fix unittest compilation on non-ssl builds
Diffstat (limited to 'src/mongo/shell/SConscript')
-rw-r--r-- | src/mongo/shell/SConscript | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mongo/shell/SConscript b/src/mongo/shell/SConscript index b53952f5603..128b7936e28 100644 --- a/src/mongo/shell/SConscript +++ b/src/mongo/shell/SConscript @@ -146,13 +146,14 @@ kmsEnv.Library( ], ) -env.CppUnitTest( - target='kms_test', - source='kms_test.cpp', - LIBDEPS=[ - 'kms', - ] -) +if "tom" not in env["MONGO_CRYPTO"]: + env.CppUnitTest( + target='kms_test', + source='kms_test.cpp', + LIBDEPS=[ + 'kms', + ] + ) env.Library( target="kms_shell", |