build(tests): static link libgcc and libstdc++ on Linux (#4485)
This commit is contained in:
parent
75809f13e3
commit
446e0a5252
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
# linux specific target definitions
|
# linux specific target definitions
|
||||||
|
|
||||||
# Using newer c++ compilers / features on older distros causes runtime dyn link errors
|
# 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++
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue