Merge pull request #174 from Arkshine/fix/mac-compilation

Attempt to fix OSX compilation
This commit is contained in:
Vincent Herbet 2015-01-07 19:22:23 +01:00
commit 0bc20edb5b

View File

@ -297,6 +297,7 @@ class AMXXConfig(object):
if self.use_auto_versioning(): if self.use_auto_versioning():
binary.compiler.rcdefines += ['AMXX_GENERATED_BUILD'] binary.compiler.rcdefines += ['AMXX_GENERATED_BUILD']
elif builder.target_platform == 'mac': elif builder.target_platform == 'mac':
if binary.type == 'library':
binary.compiler.postlink += [ binary.compiler.postlink += [
'-compatibility_version', '1.0.0', '-compatibility_version', '1.0.0',
'-current_version', self.productVersion '-current_version', self.productVersion