mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Attempt to fix OSX compilation
This commit is contained in:
parent
7f71cfaee7
commit
bab760897b
@ -297,10 +297,11 @@ 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':
|
||||||
binary.compiler.postlink += [
|
if binary.type == 'library':
|
||||||
'-compatibility_version', '1.0.0',
|
binary.compiler.postlink += [
|
||||||
'-current_version', self.productVersion
|
'-compatibility_version', '1.0.0',
|
||||||
]
|
'-current_version', self.productVersion
|
||||||
|
]
|
||||||
if self.use_auto_versioning():
|
if self.use_auto_versioning():
|
||||||
binary.compiler.linkflags += [self.versionlib]
|
binary.compiler.linkflags += [self.versionlib]
|
||||||
binary.compiler.sourcedeps += AMXX.generated_headers
|
binary.compiler.sourcedeps += AMXX.generated_headers
|
||||||
|
Loading…
Reference in New Issue
Block a user