Fix build.

This commit is contained in:
David Anderson 2022-07-31 11:22:10 -07:00
parent a35ecde538
commit 63e0e2bc82

View File

@ -629,7 +629,7 @@ class SMConfig(object):
compiler.linkflags.remove('-static-libstdc++')
compiler.linkflags += ['-lstdc++']
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
elif builder.target.platform == 'mac':
elif compiler.target.platform == 'mac':
if sdk.name in ['csgo']:
# Switch libc++ to libstdc++ for protobuf linkage.
compiler.cxxflags.remove('-stdlib=libc++')