Merge pull request #172 from Arkshine/fix/osx-compilation

Fix OSX compilation
This commit is contained in:
Vincent Herbet 2015-01-06 23:26:22 +01:00
commit aa8170ecfd

View File

@ -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']