diff options
Diffstat (limited to 'distsrc/client/SConstruct')
-rwxr-xr-x | distsrc/client/SConstruct | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct index f8d44817bf7..d7a0832946d 100755 --- a/distsrc/client/SConstruct +++ b/distsrc/client/SConstruct @@ -44,7 +44,7 @@ env.Append(CPPDEFINES=[ "_SCONS", "MONGO_EXPOSE_MACROS" ]) nix = False linux = False - +win = False if "darwin" == sys.platform: addExtraLibs( "/opt/local/" ) @@ -52,8 +52,10 @@ if "darwin" == sys.platform: elif sys.platform in ("linux2", "linux3"): nix = True linux = True +elif sys.platform == 'win32': + win = True -if sys.platform == 'win32': +if win: env['DIST_ARCHIVE_SUFFIX'] = '.zip' env.Append(CCFLAGS=['/EHsc', '/O2']) else: @@ -69,7 +71,8 @@ conf = Configure(env) for lib in boostLibs: if not conf.CheckLib(["boost_%s-mt" % lib, "boost_%s" % lib], language="C++"): - Exit(1) + if not win: + Exit(1) conf.Finish() clientEnv = env.Clone() |