mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Fix MM:S no longer being to load on games built with old, incompatible libm (fixes #146)
This commit is contained in:
parent
6ee74f047a
commit
a8050d0da7
@ -284,6 +284,12 @@ class MMSConfig(object):
|
||||
def Library(self, cxx, name):
|
||||
binary = cxx.Library(name)
|
||||
self.AddVersioning(binary)
|
||||
|
||||
if binary.compiler.like('gcc'):
|
||||
binary.sources += [
|
||||
os.path.join(builder.sourcePath, 'third_party', 'amtl', 'compat', 'stdcxx.cpp')
|
||||
]
|
||||
|
||||
return binary
|
||||
|
||||
def Program(self, compiler, name):
|
||||
|
Loading…
Reference in New Issue
Block a user