Merge pull request #10 from Bara/patch-1

Set _GLIBCXX_USE_CXX11_ABI to 0
This commit is contained in:
peace-maker 2019-06-02 12:09:19 +02:00 committed by GitHub
commit e48cb055f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,6 +353,7 @@ class ExtensionConfig(object):
if sdk.name == 'csgo' and builder.target_platform == 'linux':
compiler.linkflags += ['-lstdc++']
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
for path in paths:
compiler.cxxincludes += [os.path.join(sdk.path, *path)]