mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-04 11:55:40 +00:00
build(tests): static link libgcc and libstdc++ on Linux (#4485)
This commit is contained in:
@ -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++
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user