From 0436fb0ab34989ffa9aed95732c85fff2901abd4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 13 Oct 2023 20:59:55 -0700 Subject: [PATCH] Fix linkage. --- AMBuildScript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index 208250a4..da543089 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -741,12 +741,14 @@ class SMConfig(object): def HL2Config(self, project, context, compiler, name, sdk): binary = project.Configure(compiler, name, '{0} - {1} {2}'.format(self.tag, sdk.name, compiler.target.arch)) + self.AddCxxCompat(binary) self.AddVersioning(binary) return self.ConfigureForHL2(context, binary, sdk) def HL2ExtConfig(self, project, context, compiler, name, sdk): binary = project.Configure(compiler, name, '{0} - {1} {2}'.format(self.tag, sdk.name, compiler.target.arch)) + self.AddCxxCompat(binary) self.AddVersioning(binary) self.ConfigureForHL2(context, binary, sdk) self.ConfigureForExtension(context, binary.compiler)