Link libstdc++ on linux for CS:GO.

This commit is contained in:
Nicholas Hastings 2014-09-11 19:23:10 -04:00
parent 7f0b163b31
commit f0fe427fee

View File

@ -395,6 +395,9 @@ class SMConfig(object):
if builder.target_platform in ['linux', 'mac']:
compiler.defines += ['NO_HOOK_MALLOC', 'NO_MALLOC_OVERRIDE']
if sdk.name == 'csgo' and builder.target_platform == 'linux':
compiler.linkflags += ['-lstdc++']
for path in paths:
compiler.cxxincludes += [os.path.join(sdk.path, *path)]