зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1410147 - On MacOS HAS_CONNECTX should be set for Darwin version greater than and equal 15. r=bagder
This commit is contained in:
Родитель
7ad7830d76
Коммит
026c72f278
|
@ -40,7 +40,7 @@ elif CONFIG['OS_TARGET'] in ('FreeBSD', 'OpenBSD', 'NetBSD'):
|
||||||
SOURCES += ['/nsprpub/pr/src/md/unix/%s.c' % CONFIG['OS_TARGET'].lower()]
|
SOURCES += ['/nsprpub/pr/src/md/unix/%s.c' % CONFIG['OS_TARGET'].lower()]
|
||||||
elif CONFIG['OS_TARGET'] == 'Darwin':
|
elif CONFIG['OS_TARGET'] == 'Darwin':
|
||||||
OS_LIBS += ['-framework CoreServices']
|
OS_LIBS += ['-framework CoreServices']
|
||||||
if CONFIG['HOST_MAJOR_VERSION'] == '15':
|
if CONFIG['HOST_MAJOR_VERSION'] >= '15':
|
||||||
DEFINES.update(
|
DEFINES.update(
|
||||||
HAS_CONNECTX=True,
|
HAS_CONNECTX=True,
|
||||||
)
|
)
|
||||||
|
|
|
@ -135,7 +135,7 @@ EXTRA_COMPONENTS += [
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['OS_TARGET'] == 'Darwin':
|
if CONFIG['OS_TARGET'] == 'Darwin':
|
||||||
if CONFIG['HOST_MAJOR_VERSION'] == '15':
|
if CONFIG['HOST_MAJOR_VERSION'] >= '15':
|
||||||
DEFINES.update(
|
DEFINES.update(
|
||||||
HAS_CONNECTX=True,
|
HAS_CONNECTX=True,
|
||||||
)
|
)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче