From 9d4da48320c1040254027c218f942321474eaebd Mon Sep 17 00:00:00 2001 From: Kody Schram <79764769+Kody-Schram@users.noreply.github.com> Date: Tue, 29 Sep 2026 12:50:20 -0700 Subject: [PATCH] Linux: Strip debug symbols from launcher (#913) * Add stripping for linux launcher build * Fix launcher strip * Removed garbage * Fix launcher link option formatting --------- Co-authored-by: nmzik --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 50955cc46..9f09a50d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -767,6 +767,10 @@ endif() install(TARGETS kyty_emulator DESTINATION .) if(KYTY_BUILD_LAUNCHER) add_subdirectory("${KYTY_SOURCE_DIR}/launcher" "${CMAKE_CURRENT_BINARY_DIR}/launcher") + + if(LINUX) + target_link_options(launcher PRIVATE $<$:-Wl,--strip-all>) + endif() endif() if(KYTY_CLANG_CL) install(FILES "${KYTY_THIRD_PARTY_DIR}/winpthread/bin/libwinpthread-1.dll" DESTINATION .)