Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function(stacktrace_check var source incs libs)

endfunction()

stacktrace_check(BOOST_STACKTRACE_HAS_BACKTRACE has_backtrace.cpp "" "backtrace")
stacktrace_check(BOOST_STACKTRACE_HAS_BACKTRACE has_backtrace.cpp "" "backtrace;${CMAKE_DL_LIBS}")

set(_default_addr2line ON)
if(WIN32 AND NOT CMAKE_CXX_PLATFORM_ID MATCHES "Cygwin")
Expand Down
10 changes: 5 additions & 5 deletions build/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ project

lib dl ;
lib gcc_s ;
lib Dbgeng ;
lib dbgeng ;
lib ole32 ;
lib ucrt ;

Expand Down Expand Up @@ -59,10 +59,10 @@ explicit libbacktrace ;
mp-run-simple has_addr2line.cpp : : : : addr2line ;
explicit addr2line ;

mp-run-simple has_windbg.cpp : : : <library>Dbgeng <library>ole32 : WinDbg ;
mp-run-simple has_windbg.cpp : : : <library>dbgeng <library>ole32 : WinDbg ;
explicit WinDbg ;

mp-run-simple has_windbg_cached.cpp : : : <library>Dbgeng <library>ole32 : WinDbgCached ;
mp-run-simple has_windbg_cached.cpp : : : <library>dbgeng <library>ole32 : WinDbgCached ;
explicit WinDbgCached ;

lib boost_stacktrace_dump
Expand Down Expand Up @@ -221,7 +221,7 @@ lib boost_stacktrace_windbg
: # requirements
<warnings>all
<library>boost_stacktrace_dump
<library>Dbgeng <library>ole32
<library>dbgeng <library>ole32
<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
<conditional>@build-stacktrace-windbg
: # default build
Expand Down Expand Up @@ -252,7 +252,7 @@ lib boost_stacktrace_windbg_cached
: # requirements
<warnings>all
<library>boost_stacktrace_dump
<library>Dbgeng <library>ole32
<library>dbgeng <library>ole32
<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
<conditional>@build-stacktrace-windbg-cached
: # default build
Expand Down