Fix linking on Linux.

This commit is contained in:
David Anderson 2020-05-25 20:40:24 -07:00
parent 6d2e0aa684
commit acf8782786

View File

@ -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']