summaryrefslogtreecommitdiff
path: root/src/third_party/boost-1.56.0
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-03-30 12:14:42 -0400
committerJonathan Reams <jbreams@mongodb.com>2015-03-30 12:14:42 -0400
commit06785ef692bae4beb4df859c3d4da2e0517ba0d5 (patch)
tree0e54cb8720569d302042c80dde66580420e203a1 /src/third_party/boost-1.56.0
parentc7ad4563a086eb9e9aeaf5f71e7e70b3b33a178a (diff)
downloadmongo-06785ef692bae4beb4df859c3d4da2e0517ba0d5.tar.gz
SERVER-9555 Better OS detection in scons
Diffstat (limited to 'src/third_party/boost-1.56.0')
-rw-r--r--src/third_party/boost-1.56.0/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/boost-1.56.0/SConscript b/src/third_party/boost-1.56.0/SConscript
index 2bd0e3ddd86..4a6dbe0b573 100644
--- a/src/third_party/boost-1.56.0/SConscript
+++ b/src/third_party/boost-1.56.0/SConscript
@@ -7,9 +7,9 @@ env.Library('boost_system', ['libs/system/src/error_code.cpp'])
boost_thread_source = dict(
posix=['libs/thread/src/pthread/once.cpp',
'libs/thread/src/pthread/thread.cpp'],
- win=['libs/thread/src/win32/thread.cpp',
- 'libs/thread/src/win32/tss_pe.cpp']
- ).get(env['OS_FAMILY'], 'UNKNOWN_OS_FAMILY_FOR_BOOST_THREADS__%s' % env['OS_FAMILY'])
+ windows=['libs/thread/src/win32/thread.cpp',
+ 'libs/thread/src/win32/tss_pe.cpp']
+ ).get(env['TARGET_OS_FAMILY'], 'UNKNOWN_OS_FAMILY_FOR_BOOST_THREADS__%s' % env['TARGET_OS_FAMILY'])
threadlib_env = env.Clone()
threadlib_env.Append(CPPDEFINES=['BOOST_THREAD_BUILD_LIB'])