From 109aee99dc6eec5a47ad026f741814cebf84f0a4 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Fri, 22 Nov 2024 21:52:54 -0800 Subject: [PATCH] fix: stack traces work again --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d9d394b2..4a6c4b235 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ if(UNIX) endif() if(${DYNAMIC} AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - add_compile_options("-rdynamic") + add_link_options("-export-dynamic") endif() if(${GGDB})