summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-09-07 16:29:54 -0400
committerAndrew Morrow <acm@mongodb.com>2015-09-15 10:27:28 -0400
commitfbf0437a55305c4f190831784c40470b29920419 (patch)
tree09a43ea6e410c96f474bcf6257f29a09887e2098 /SConstruct
parentbb20f83281d25e566b4eb2c9984660d089204317 (diff)
downloadmongo-fbf0437a55305c4f190831784c40470b29920419.tar.gz
SERVER-17422 Use BCrypt API for secure random number generation on Windows
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct23
1 files changed, 14 insertions, 9 deletions
diff --git a/SConstruct b/SConstruct
index 022a60cd094..36bcd4d3da3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1333,15 +1333,20 @@ elif env.TargetOSIs('windows'):
# This gives 32-bit programs 4 GB of user address space in WOW64, ignored in 64-bit builds
env.Append( LINKFLAGS=["/LARGEADDRESSAWARE"] )
- env.Append(LIBS=['ws2_32.lib',
- 'kernel32.lib',
- 'advapi32.lib',
- 'Psapi.lib',
- 'DbgHelp.lib',
- 'shell32.lib',
- 'Iphlpapi.lib',
- 'winmm.lib',
- 'version.lib'])
+ env.Append(
+ LIBS=[
+ 'DbgHelp.lib',
+ 'Iphlpapi.lib',
+ 'Psapi.lib',
+ 'advapi32.lib',
+ 'bcrypt.lib',
+ 'kernel32.lib',
+ 'shell32.lib',
+ 'version.lib',
+ 'winmm.lib',
+ 'ws2_32.lib',
+ ],
+ )
# When building on visual studio, this sets the name of the debug symbols file
if env.ToolchainIs('msvc'):