summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-06-29 12:08:00 -0400
committerEliot Horowitz <eliot@10gen.com>2010-06-29 12:08:00 -0400
commita92bead078f048bbe562871d921eae005419ccab (patch)
tree2892447826f0ed77f5eda79ab2b805cdcdbb6c09
parent58f19f39f96234f89ef8bb350f27f71ed4d62633 (diff)
downloadmongo-a92bead078f048bbe562871d921eae005419ccab.tar.gz
win64 boost
-rw-r--r--SConstruct13
1 files changed, 13 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 8195f7726f4..9a52f83988e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -556,13 +556,26 @@ elif "win32" == os.sys.platform:
boostDir = "C:/Program Files" + x + "/Boost/boost_1_" + str(bv) + extra
if os.path.exists( boostDir ):
return boostDir
+ if os.path.exists( "C:/boost" ):
+ return "C:/boost"
+ if os.path.exists( "/boost" ):
+ return "/boost"
return None
+
boostDir = find_boost()
if boostDir is None:
print( "can't find boost" )
Exit(1)
+ if force64 and os.path.exists( boostDir + "/lib/vs2010_64" ):
+ env.Append( LIBPATH=[ boostDir + "/lib/vs2010_64" ] )
+ elif not force64 and os.path.exists( boostDir + "/lib/vs2010_32" ):
+ env.Append( LIBPATH=[ boostDir + "/lib/vs2010_32" ] )
+ else:
+ env.Append( LIBPATH=[ boostDir + "/Lib" ] )
+
+
serverOnlyFiles += [ "util/ntservice.cpp" ]
boostLibs = []