mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
Merge pull request #172 from Arkshine/fix/osx-compilation
Fix OSX compilation
This commit is contained in:
commit
aa8170ecfd
@ -12,7 +12,7 @@ binary.compiler.defines += [
|
|||||||
'HAVE_STDINT_H',
|
'HAVE_STDINT_H',
|
||||||
]
|
]
|
||||||
|
|
||||||
if builder.target_platform == 'linux':
|
if builder.target_platform is 'linux' or builder.target_platform is 'mac':
|
||||||
binary.compiler.defines += ['stricmp=strcasecmp']
|
binary.compiler.defines += ['stricmp=strcasecmp']
|
||||||
binary.compiler.postlink += ['-lpthread']
|
binary.compiler.postlink += ['-lpthread']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user