diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-09-20 22:07:41 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-20 22:07:41 +0000 |
commit | 668d07c416dfcd62f245211d7f9a74898ece59fb (patch) | |
tree | b18850aa2ca9dc9c8070b57c381527496ca3a3f9 /src/mongo/SConscript | |
parent | 328d1877ce3ab19538d8f19eee8f8867d90742e8 (diff) | |
download | mongo-668d07c416dfcd62f245211d7f9a74898ece59fb.tar.gz |
SERVER-42029 Combine stacktrace posix and unwind files
Diffstat (limited to 'src/mongo/SConscript')
-rw-r--r-- | src/mongo/SConscript | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 9b4a524382a..93ca72b1504 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -58,9 +58,8 @@ baseEnv = env.Clone() if use_libunwind: baseEnv.InjectThirdParty('unwind') - stacktrace_impl_cpp = 'util/stacktrace_unwind.cpp' -else: - stacktrace_impl_cpp = 'util/stacktrace_${TARGET_OS_FAMILY}.cpp' + +stacktrace_impl_cpp = [ File('util/stacktrace_${TARGET_OS_FAMILY}.cpp') ] baseEnv.Library( target='base', @@ -141,7 +140,8 @@ baseEnv.Library( 'util/shell_exec.cpp', 'util/signal_handlers_synchronous.cpp', 'util/stacktrace.cpp', - stacktrace_impl_cpp, + 'util/stacktrace_${TARGET_OS_FAMILY}.cpp', + 'util/stacktrace_somap.cpp', 'util/str.cpp', 'util/system_clock_source.cpp', 'util/system_tick_source.cpp', |