mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 14:59:52 -04:00
Conditionally link exception_tracer
libs
This commit is contained in:
parent
1d9048e888
commit
5b5b4a5718
@ -361,8 +361,11 @@ target_link_libraries(
|
|||||||
|
|
||||||
foreach(tgt ${BINARY_TARGETS})
|
foreach(tgt ${BINARY_TARGETS})
|
||||||
target_link_libraries(${tgt} dwarfs)
|
target_link_libraries(${tgt} dwarfs)
|
||||||
target_link_libraries(${tgt} -Wl,--whole-archive folly_exception_tracer_base
|
if(TARGET folly_exception_tracer)
|
||||||
|
target_link_libraries(
|
||||||
|
${tgt} -Wl,--whole-archive folly_exception_tracer_base
|
||||||
folly_exception_tracer -Wl,--no-whole-archive)
|
folly_exception_tracer -Wl,--no-whole-archive)
|
||||||
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
if(WITH_PYTHON)
|
if(WITH_PYTHON)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user