mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +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):
|
def Library(self, cxx, name):
|
||||||
binary = cxx.Library(name)
|
binary = cxx.Library(name)
|
||||||
self.AddVersioning(binary)
|
self.AddVersioning(binary)
|
||||||
|
|
||||||
|
if binary.compiler.like('gcc'):
|
||||||
|
binary.sources += [
|
||||||
|
os.path.join(builder.sourcePath, 'third_party', 'amtl', 'compat', 'stdcxx.cpp')
|
||||||
|
]
|
||||||
|
|
||||||
return binary
|
return binary
|
||||||
|
|
||||||
def Program(self, compiler, name):
|
def Program(self, compiler, name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user