Statically link against libstdc++ on Linux (#6)
This commit is contained in:
@@ -217,6 +217,7 @@ class SteamWorksConfig(object):
|
|||||||
cxx.linkflags += ['-static-libgcc']
|
cxx.linkflags += ['-static-libgcc']
|
||||||
elif cxx.family == 'clang':
|
elif cxx.family == 'clang':
|
||||||
cxx.linkflags += ['-lgcc_eh']
|
cxx.linkflags += ['-lgcc_eh']
|
||||||
|
cxx.linkflags += ['-static-libstdc++']
|
||||||
elif cxx.target.platform == 'windows':
|
elif cxx.target.platform == 'windows':
|
||||||
cxx.defines += ['WIN32', '_WINDOWS']
|
cxx.defines += ['WIN32', '_WINDOWS']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user