From 4d98fc2a3df1725cdc36530746b3e19e1f643f44 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 ba87423f9..b330fc011 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -381,6 +381,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)]