Skip to content

Commit

Permalink
Link libstdc++ on CS:GO.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Sep 11, 2014
1 parent b5a6377 commit 679deca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AMBuildScript
Expand Up @@ -261,6 +261,10 @@ class MMSConfig(object):
if sdk.name in ['css', 'hl2dm', 'dods', 'sdk2013', 'tf2', 'l4d', 'nucleardawn', 'l4d2', 'dota']:
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)]
Expand Down

0 comments on commit 679deca

Please sign in to comment.