MacOS/Intel build compat with OS 10.11
This commit is contained in:
parent
616273cfab
commit
e40000e90c
6
wscript
6
wscript
@ -684,6 +684,12 @@ int main() { return 0; }''',
|
|||||||
"-mmacosx-version-min=10.9"))
|
"-mmacosx-version-min=10.9"))
|
||||||
linker_flags.append("-mmacosx-version-min=10.9")
|
linker_flags.append("-mmacosx-version-min=10.9")
|
||||||
|
|
||||||
|
elif conf.env['build_target'] in ['bigsur'] and not opt.arm64:
|
||||||
|
compiler_flags.extend(
|
||||||
|
("-DMAC_OS_X_VERSION_MAX_ALLOWED=101100",
|
||||||
|
"-mmacosx-version-min=10.11"))
|
||||||
|
linker_flags.append("-mmacosx-version-min=10.11")
|
||||||
|
|
||||||
elif conf.env['build_target'] in ['bigsur', 'monterey', 'ventura']:
|
elif conf.env['build_target'] in ['bigsur', 'monterey', 'ventura']:
|
||||||
compiler_flags.extend(
|
compiler_flags.extend(
|
||||||
("-DMAC_OS_X_VERSION_MAX_ALLOWED=110000",
|
("-DMAC_OS_X_VERSION_MAX_ALLOWED=110000",
|
||||||
|
Loading…
Reference in New Issue
Block a user