Statically link against libstdc++ on Linux (#6)

This commit is contained in:
Eric Zhang
2026-08-14 06:24:52 -04:00
committed by GitHub
parent 25108a5296
commit 79871eac79
+1
View File
@@ -217,6 +217,7 @@ class SteamWorksConfig(object):
cxx.linkflags += ['-static-libgcc']
elif cxx.family == 'clang':
cxx.linkflags += ['-lgcc_eh']
cxx.linkflags += ['-static-libstdc++']
elif cxx.target.platform == 'windows':
cxx.defines += ['WIN32', '_WINDOWS']