build(tests): static link libgcc and libstdc++ on Linux (#4485)

This commit is contained in:
David Lane
2025-12-08 21:04:01 -05:00
committed by GitHub
parent 75809f13e3
commit 446e0a5252

View File

@ -1,4 +1,7 @@
# 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++)
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
-static-libgcc
-static-libstdc++
)