Permalink
Browse files

Link libstdc++ on CS:GO.

  • Loading branch information...
psychonic committed Sep 11, 2014
1 parent b5a6377 commit 679decaba0286910e92c7bc7288d043a7b1f6197
Showing with 4 additions and 0 deletions.
  1. +4 −0 AMBuildScript
View
@@ -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)]

0 comments on commit 679deca

Please sign in to comment.