1
0
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:
Nick Hastings 2023-11-11 12:26:12 -05:00
parent 6ee74f047a
commit a8050d0da7

View File

@ -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):