Fix build.
This commit is contained in:
parent
4688783baf
commit
737d8c3240
@ -629,7 +629,7 @@ class SMConfig(object):
|
|||||||
compiler.linkflags.remove('-static-libstdc++')
|
compiler.linkflags.remove('-static-libstdc++')
|
||||||
compiler.linkflags += ['-lstdc++']
|
compiler.linkflags += ['-lstdc++']
|
||||||
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
|
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
|
||||||
elif builder.target.platform == 'mac':
|
elif compiler.target.platform == 'mac':
|
||||||
if sdk.name in ['csgo']:
|
if sdk.name in ['csgo']:
|
||||||
# Switch libc++ to libstdc++ for protobuf linkage.
|
# Switch libc++ to libstdc++ for protobuf linkage.
|
||||||
compiler.cxxflags.remove('-stdlib=libc++')
|
compiler.cxxflags.remove('-stdlib=libc++')
|
||||||
|
Loading…
Reference in New Issue
Block a user