1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +01:00

Link iconv on Mac for SDK 2013 as required by its tier1.

This commit is contained in:
Nicholas Hastings 2013-10-13 11:30:15 -04:00
parent bf531ae080
commit 53c8161e35

View File

@ -373,6 +373,9 @@ class MMS:
else: else:
compiler['CDEFINES'].extend(['COMPILER_GCC']) compiler['CDEFINES'].extend(['COMPILER_GCC'])
if sdk == 'sdk2013' and AMBuild.target['platform'] == 'darwin':
compiler['POSTLINKFLAGS'].append('-liconv')
if sdk in ['css','hl2dm','dods','sdk2013','tf2','l4d2']: if sdk in ['css','hl2dm','dods','sdk2013','tf2','l4d2']:
if AMBuild.target['platform'] == 'linux' or AMBuild.target['platform'] == 'darwin': if AMBuild.target['platform'] == 'linux' or AMBuild.target['platform'] == 'darwin':
compiler['CDEFINES'].append('NO_MALLOC_OVERRIDE') compiler['CDEFINES'].append('NO_MALLOC_OVERRIDE')