From f0fe427fee70dc628434f707bf04dcdb6e2bf0d0 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 11 Sep 2014 19:23:10 -0400 Subject: [PATCH] Link libstdc++ on linux for CS:GO. --- AMBuildScript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index 2f18ed2e..580b0807 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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)]