--- test/signal/CMakeLists.txt.orig	2025-12-21 12:48:14 UTC
+++ test/signal/CMakeLists.txt
@@ -3,6 +3,7 @@ target_include_directories(test-signalhandler PRIVATE 
         ${PROJECT_SOURCE_DIR}/cli/signalhandler.cpp
         ${PROJECT_SOURCE_DIR}/cli/stacktrace.cpp)
 target_include_directories(test-signalhandler PRIVATE ${PROJECT_SOURCE_DIR}/cli ${PROJECT_SOURCE_DIR}/lib)
+target_link_libraries(test-signalhandler execinfo)
 if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
     # names for static functions are omitted from trace
     target_compile_options_safe(test-signalhandler -Wno-missing-declarations)
@@ -17,6 +18,7 @@ target_include_directories(test-stacktrace PRIVATE ${P
         test-stacktrace.cpp
         ${PROJECT_SOURCE_DIR}/cli/stacktrace.cpp)
 target_include_directories(test-stacktrace PRIVATE ${PROJECT_SOURCE_DIR}/cli ${PROJECT_SOURCE_DIR}/lib)
+target_link_libraries(test-stacktrace execinfo)
 if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
     # names for static functions are omitted from trace
     target_compile_options_safe(test-stacktrace -Wno-missing-declarations)
