diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-10-26 13:29:28 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-10-27 15:16:33 -0400 |
commit | 58da3876b02408e5c19927f1b342b8e40835bc86 (patch) | |
tree | f875bc2b4ec6011a67199d35d08902ed275e0a02 /src/mongo | |
parent | 1032951961fdd2fabb580e5e5bafd9201cfcf678 (diff) | |
download | mongo-58da3876b02408e5c19927f1b342b8e40835bc86.tar.gz |
SERVER-31736 Fix Windows build when --dynamic-windows is on but not --ssl
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/crypto/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/crypto/SConscript b/src/mongo/crypto/SConscript index ecf857b1217..4e680e8cdb2 100644 --- a/src/mongo/crypto/SConscript +++ b/src/mongo/crypto/SConscript @@ -25,6 +25,11 @@ env.Library('sha256_block', if "tom" in env["MONGO_CRYPTO"]: tomEnv = env.Clone(); tomEnv.InjectThirdPartyIncludePaths(libraries=['tomcrypt']) + tomEnv.Append( + CPPDEFINES=[ + 'LTC_NO_PROTOTYPES', + ] + ) tomEnv.Library( target='sha_block_tom', |