0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

windows Soncstruct: check 32 bit program files dir for boost

This commit is contained in:
Dwight Merriman 2010-02-12 11:44:21 -05:00
parent 4b372247f1
commit 690f58b63f

View File

@ -527,9 +527,10 @@ elif "win32" == os.sys.platform:
env['ENV'] = dict(os.environ)
def find_boost():
for x in ('', ' (x86)'):
for bv in reversed( range(33,50) ):
for extra in ('', '_0', '_1'):
boostDir = "C:/Program Files/Boost/boost_1_" + str(bv) + extra
boostDir = "C:/Program Files" + x + "/Boost/boost_1_" + str(bv) + extra
if os.path.exists( boostDir ):
return boostDir
return None