Attempt to fix OSX compilation

This commit is contained in:
Arkshine 2015-01-07 19:23:23 +01:00
parent 7f71cfaee7
commit bab760897b

View File

@ -297,10 +297,11 @@ class AMXXConfig(object):
if self.use_auto_versioning():
binary.compiler.rcdefines += ['AMXX_GENERATED_BUILD']
elif builder.target_platform == 'mac':
binary.compiler.postlink += [
'-compatibility_version', '1.0.0',
'-current_version', self.productVersion
]
if binary.type == 'library':
binary.compiler.postlink += [
'-compatibility_version', '1.0.0',
'-current_version', self.productVersion
]
if self.use_auto_versioning():
binary.compiler.linkflags += [self.versionlib]
binary.compiler.sourcedeps += AMXX.generated_headers