summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-08-12 14:54:53 -0400
committerEliot Horowitz <eliot@10gen.com>2009-08-12 14:54:53 -0400
commit7b9da727ba3e830f243946766215b39162a50e4f (patch)
tree8f1fb603c5e77c51ad50b49fad69474c70707799 /SConstruct
parente07cbd84344d768f3c7fe2f3228c991581214053 (diff)
downloadmongo-7b9da727ba3e830f243946766215b39162a50e4f.tar.gz
compile on 10.4 SERVER-231
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 8e53fa91bab..5866d859a80 100644
--- a/SConstruct
+++ b/SConstruct
@@ -639,6 +639,9 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ):
# this will add it iff it exists and works
myCheckLib( "boost_system" + boostCompiler + "-mt" )
+ if not conf.CheckCXXHeader( "execinfo.h" ):
+ myenv.Append( CPPDEFINES=[ "NOEXECINFO" ] )
+
if needJava:
for j in javaLibs:
myCheckLib( j , True , True )