We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a41a95 commit e9e096aCopy full SHA for e9e096a
1 file changed
CMakeLists.txt
@@ -284,6 +284,12 @@ add_ccf_static_library(
284
${CCF_DIR}/src/tasks/worker.cpp
285
)
286
target_link_libraries(ccf_tasks PRIVATE ${CMAKE_DL_LIBS})
287
+if(USE_LIBCXX)
288
+ # worker.cpp uses backtrace() which, under libc++, resolves through libunwind.
289
+ # On systems where libunwind is built with LZMA support (e.g. Azure Linux),
290
+ # this creates a transitive dependency on liblzma.
291
+ target_link_libraries(ccf_tasks PRIVATE lzma)
292
+endif()
293
294
# Common test args for Python scripts starting up CCF networks
295
set(WORKER_THREADS
0 commit comments