From 7a5351c8980e490c4159c7dbf0934d7b9ee5bef6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 3 Jun 2025 23:10:28 +1200 Subject: [PATCH] 'Generic Commit' --- Dockerfile.dropshell-build | 3 ++- ipdemo/CMakeLists.txt | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.dropshell-build b/Dockerfile.dropshell-build index 8c669b7..db0b907 100644 --- a/Dockerfile.dropshell-build +++ b/Dockerfile.dropshell-build @@ -22,7 +22,7 @@ RUN apk add --no-cache \ binutils \ elfutils-dev -RUN apk add --no-cache --update --repository=https://dl-cdn.alpinelinux.org/alpine/v3.16/main/ libexecinfo-dev +#RUN apk add --no-cache --update --repository=https://dl-cdn.alpinelinux.org/alpine/v3.16/main/ libexecinfo-dev # Set working directory WORKDIR /app @@ -46,6 +46,7 @@ RUN --mount=type=cache,target=/build \ -DCPPTRACE_GET_SYMBOLS_WITH_ADDR2LINE=ON \ -DPROJECT_NAME="${PROJECT}" \ -DCMAKE_STRIP=OFF \ + -DIGNORE_DYNAMIC_LOADING=ON \ ${CMAKE_TOOLCHAIN_FILE:+-DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE} diff --git a/ipdemo/CMakeLists.txt b/ipdemo/CMakeLists.txt index a3d280c..0da9bbd 100644 --- a/ipdemo/CMakeLists.txt +++ b/ipdemo/CMakeLists.txt @@ -102,8 +102,7 @@ target_link_libraries(${PROJECT_EXE_NAME} PRIVATE nlohmann_json::nlohmann_json ) - -# Set static linking flags +# Add execinfo to linker flags set_target_properties(${PROJECT_EXE_NAME} PROPERTIES LINK_FLAGS "-static" )