Narrow symbol hiding to libstdc++ (#2576)

This commit is contained in:
Mikusch
2026-09-15 08:07:46 -04:00
committed by GitHub
parent 3523db0314
commit 3069350df4
+1 -1
View File
@@ -420,7 +420,7 @@ class SMConfig(object):
elif cxx.family == 'clang':
cxx.linkflags += ['-lgcc_eh']
cxx.linkflags += ['-static-libstdc++']
cxx.linkflags += ['-Wl,--exclude-libs,ALL']
cxx.linkflags += ['-Wl,--exclude-libs=libstdc++.a']
def configure_mac(self, cxx):
cxx.defines += ['OSX', '_OSX', 'POSIX', 'KE_ABSOLUTELY_NO_STL']