Fix build for old OS X and MacAppStore.

This commit is contained in:
John Preston 2019-01-06 15:22:18 +04:00
parent 7c168740d9
commit ebaf63393f
2 changed files with 7 additions and 3 deletions

View file

@ -89,6 +89,7 @@
], ],
}, },
'defines': [ 'defines': [
'OS_MAC_OLD',
'RANGES_CXX_THREAD_LOCAL=0', 'RANGES_CXX_THREAD_LOCAL=0',
], ],
}, { }, {
@ -103,5 +104,11 @@
], ],
}, },
}], }],
[ 'build_macstore', {
'defines': [
'TDESKTOP_DISABLE_AUTOUPDATE',
'OS_MAC_STORE',
],
}]
], ],
} }

View file

@ -37,9 +37,6 @@
}, },
}, },
}], [ 'build_macold', { }], [ 'build_macold', {
'defines': [
'OS_MAC_OLD',
],
'xcode_settings': { 'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ], 'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
'OTHER_LDFLAGS': [ 'OTHER_LDFLAGS': [