From a92bead078f048bbe562871d921eae005419ccab Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Tue, 29 Jun 2010 12:08:00 -0400 Subject: win64 boost --- SConstruct | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 = [] -- cgit v1.2.1