summaryrefslogtreecommitdiff
path: root/src/SConscript.client
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2013-06-20 11:53:23 -0400
committerTad Marshall <tad@10gen.com>2013-06-20 11:53:23 -0400
commit54f25e6292eb565d4eadec1d5d75d286c787c053 (patch)
tree8e80d223d28492552a7416092659330fa379f3ad /src/SConscript.client
parent38d638004c0125a52e4dc86b586efec3e2efee4c (diff)
downloadmongo-54f25e6292eb565d4eadec1d5d75d286c787c053.tar.gz
SERVER-7080 Link to backtrace, backtrace_symbols and backtrace_symbols_fd at runtime
Do not make direct calls to backtrace, backtrace_symbols or backtrace_symbols_fd, which are present in Solaris 11 but not in Solaris 10. Instead, see if they are available in a loaded library (which will be libc.so.1) at runtime and either call them or call an emulation.
Diffstat (limited to 'src/SConscript.client')
-rw-r--r--src/SConscript.client1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SConscript.client b/src/SConscript.client
index 7f543723b1b..9abcfadbae7 100644
--- a/src/SConscript.client
+++ b/src/SConscript.client
@@ -51,6 +51,7 @@ clientSourceBasic = [
'mongo/db/namespace.cpp',
'mongo/db/dbmessage.cpp',
'mongo/pch.cpp',
+ 'mongo/platform/backtrace.cpp',
'mongo/platform/posix_fadvise.cpp',
'mongo/platform/process_id.cpp',
'mongo/platform/random.cpp',