summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-06-25 14:00:43 -0400
committerJonathan Reams <jbreams@mongodb.com>2015-06-30 10:30:12 -0400
commitac120761506847533fbf1fff40339da8cc81778d (patch)
treee5224d553334fcab4d4fa2e43ada2411e6b54fd6 /SConstruct
parentd9b4963ad624440316cbc6d71cb1493570d12306 (diff)
downloadmongo-ac120761506847533fbf1fff40339da8cc81778d.tar.gz
SERVER-19123 Fix using system zlib in scons
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 324febb7176..3ebde7845b3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2026,7 +2026,7 @@ def doConfigure(myenv):
conf.FindSysLibDep("snappy", ["snappy"])
if use_system_version_of_library("zlib"):
- conf.FindSysLibDep("zlib", ["zlib" if windows else "z"])
+ conf.FindSysLibDep("zlib", ["zdll" if conf.env.TargetOSIs('windows') else "z"])
if use_system_version_of_library("stemmer"):
conf.FindSysLibDep("stemmer", ["stemmer"])