aboutsummaryrefslogtreecommitdiffstats
path: root/scons/SConscript.common
diff options
context:
space:
mode:
Diffstat (limited to 'scons/SConscript.common')
-rw-r--r--scons/SConscript.common1
1 files changed, 1 insertions, 0 deletions
diff --git a/scons/SConscript.common b/scons/SConscript.common
index 7943e77c..adefa582 100644
--- a/scons/SConscript.common
+++ b/scons/SConscript.common
@@ -119,6 +119,7 @@ class EnvCreator:
# selecting on a platform.
env.Append(CCFLAGS=['-pthread'])
env.Append(LINKFLAGS=['-pthread'])
+ env.Append(CPPDEFINES='GTEST_HAS_PTHREAD=1')
WithThreads = classmethod(WithThreads)
def NoRtti(cls, env):