From acf87827867fc6aca4bfddeff3988393db93c284 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 25 May 2020 20:40:24 -0700 Subject: [PATCH] Fix linking on Linux. --- AMBuildScript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index 0c1f5d0b..dd3c4518 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -390,7 +390,7 @@ class SMConfig(object): cxx.linkflags += ['-static-libgcc'] elif cxx.family == 'clang': cxx.linkflags += ['-lgcc_eh'] - cxx.linkflags += ['-static-libstdc++'] + cxx.linkflags += ['-lstdc++', '-static-libstdc++'] def configure_mac(self, cxx): cxx.defines += ['OSX', '_OSX', 'POSIX', 'KE_ABSOLUTELY_NO_STL']