Fix build.

This commit is contained in:
David Anderson 2022-07-31 11:22:10 -07:00 committed by Your Name
parent 4688783baf
commit 737d8c3240

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++')