mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Restrict C++ linker workarounds to Linux.
This commit is contained in:
parent
133f510b51
commit
e4b653a91b
@ -338,10 +338,12 @@ class MMSConfig(object):
|
||||
|
||||
def HL2Library(self, context, compiler, name, sdk):
|
||||
binary = self.Library(compiler, name)
|
||||
cxx = binary.compiler
|
||||
|
||||
if cxx.target.platform == 'linux':
|
||||
binary.sources += [
|
||||
os.path.join(context.sourcePath, 'third_party', 'amtl', 'compat', 'stdcxx.cpp'),
|
||||
]
|
||||
cxx = binary.compiler
|
||||
|
||||
cxx.cxxincludes += [
|
||||
os.path.join(context.currentSourcePath),
|
||||
|
Loading…
x
Reference in New Issue
Block a user