Skip to content

Commit

Permalink
Fix MM:S no longer being to load on games built with old, incompatibl…
Browse files Browse the repository at this point in the history
…e libm (fixes #146)
  • Loading branch information
psychonic committed Nov 11, 2023
1 parent 6ee74f0 commit a8050d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AMBuildScript
Expand Up @@ -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):
Expand Down

0 comments on commit a8050d0

Please sign in to comment.