Fix OSX compilation
This commit is contained in:
parent
604200e905
commit
4fc2b4ed64
|
@ -12,7 +12,7 @@ binary.compiler.defines += [
|
|||
'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.postlink += ['-lpthread']
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user