Added support for CS:GO on Mac OS X (bug 5459, r=psychonic).

This commit is contained in:
Scott Ehlert
2012-08-25 11:28:52 -05:00
parent 7441af67a8
commit 0d795fc651
6 changed files with 25 additions and 8 deletions
+1
View File
@@ -13,6 +13,7 @@ compiler['CDEFINES'].append('SM_LOGIC')
if AMBuild.target['platform'] == 'linux':
compiler['POSTLINKFLAGS'].append('-lpthread')
if AMBuild.target['platform'] == 'darwin':
compiler['CFLAGS'].extend(['-Wno-deprecated-declarations'])
compiler['POSTLINKFLAGS'].extend(['-framework', 'CoreServices'])
extension = AMBuild.AddJob('sourcemod.logic')