summaryrefslogtreecommitdiff
path: root/src/mongo/crypto
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-21 18:48:56 -0500
committerAndrew Morrow <acm@mongodb.com>2017-01-03 09:45:52 -0500
commit1346352ff66b163fb010a270d1826c18699f3b36 (patch)
tree1fbe90cabe0bbdc3c6601008effbcac09ca05c65 /src/mongo/crypto
parent4a5adbb971bdf95adce07ec01120c24b44268946 (diff)
downloadmongo-1346352ff66b163fb010a270d1826c18699f3b36.tar.gz
SERVER-27497 Scope SCons Environment changes narrowly
Diffstat (limited to 'src/mongo/crypto')
-rw-r--r--src/mongo/crypto/SConscript5
-rw-r--r--src/mongo/crypto/tom/SConscript2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/crypto/SConscript b/src/mongo/crypto/SConscript
index f66e88be2b3..7d2aae22ce9 100644
--- a/src/mongo/crypto/SConscript
+++ b/src/mongo/crypto/SConscript
@@ -2,10 +2,15 @@
Import("env")
+env = env.Clone()
+
env.SConscript(
dirs=[
'tom',
],
+ exports=[
+ 'env',
+ ],
)
env.Library('crypto_tom',
diff --git a/src/mongo/crypto/tom/SConscript b/src/mongo/crypto/tom/SConscript
index 6217f442e6f..66c9f43e2ee 100644
--- a/src/mongo/crypto/tom/SConscript
+++ b/src/mongo/crypto/tom/SConscript
@@ -2,6 +2,8 @@
Import("env")
+env = env.Clone()
+
env.Library('tomcrypt',
['crypt_argchk.c',
'crypt_find_hash.c',