From f52891d6fc7063efd96849134ca60837878085b0 Mon Sep 17 00:00:00 2001 From: PVermeer Date: Tue, 7 Oct 2025 17:29:16 +0200 Subject: [PATCH] build(linux): static link std libraries (#4321) --- cmake/targets/linux.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/targets/linux.cmake b/cmake/targets/linux.cmake index fa1f33c07..8ce7e024a 100644 --- a/cmake/targets/linux.cmake +++ b/cmake/targets/linux.cmake @@ -1 +1,4 @@ # linux specific target definitions + +# Using newer c++ compilers / features on older distros causes runtime dyn link errors +target_link_libraries(sunshine -static-libgcc -static-libstdc++)