From 618766ce2e3fcff00e0a5321e61cde45663a5b73 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Wed, 3 Apr 2024 12:27:07 -0700 Subject: [PATCH] Fix objcopy filepath --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bb2f9d..cfc6cdd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,7 +136,8 @@ else() TARGET ${PROJECT_NAME}-static POST_BUILD COMMAND - ${CMAKE_OBJCOPY} --keep-global-symbols=${CMAKE_SOURCE_DIR}/symbols.txt + ${CMAKE_OBJCOPY} + --keep-global-symbols=${CMAKE_SOURCE_DIR}/symbol-exports.txt $ || echo "Proceeding with all symbols global in static library") endif()