diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-09-14 11:18:33 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-09-14 11:18:33 +0800 |
| commit | 235a9d87ecf0447bd4aca3287548c715f1ada2ad (patch) | |
| tree | 10e666254d8df021133a7614ba5e04e44a7019ab | |
| parent | 8909552b64791a02e756c90555d2b09a78acccec (diff) | |
Strip SDL3 library file on Debian
| -rw-r--r-- | indra/cmake/SDL3.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/cmake/SDL3.cmake b/indra/cmake/SDL3.cmake index 715110eba2..9c4fb57fb6 100644 --- a/indra/cmake/SDL3.cmake +++ b/indra/cmake/SDL3.cmake @@ -46,6 +46,12 @@ if(USE_SDL_WINDOW) file(WRITE ${PREBUILD_TRACKING_DIR}/SDL3_installed "${SDL3_installed}") endif () endif () + if (CMAKE_BUILD_TYPE MATCHES Release) + execute_process( + COMMAND ${CMAKE_STRIP} libSDL3.so.0.2.24 + WORKING_DIRECTORY ${ARCH_PREBUILT_DIRS_RELEASE} + ) + endif () find_library( SDL3_LIBRARY NAMES SDL3 SDL3.lib libSDL3.so libSDL3.dylib |
