Bug 1410147 - On MacOS HAS_CONNECTX should be set for Darwin version greater than and equal 15. r=bagder

This commit is contained in:
Dragana Damjanovic dd.mozilla@gmail.com 2017-10-19 09:45:00 -04:00
Родитель 7ad7830d76
Коммит 026c72f278
2 изменённых файлов: 2 добавлений и 2 удалений

2
config/external/nspr/pr/moz.build поставляемый
Просмотреть файл

@ -40,7 +40,7 @@ elif CONFIG['OS_TARGET'] in ('FreeBSD', 'OpenBSD', 'NetBSD'):
SOURCES += ['/nsprpub/pr/src/md/unix/%s.c' % CONFIG['OS_TARGET'].lower()]
elif CONFIG['OS_TARGET'] == 'Darwin':
OS_LIBS += ['-framework CoreServices']
if CONFIG['HOST_MAJOR_VERSION'] == '15':
if CONFIG['HOST_MAJOR_VERSION'] >= '15':
DEFINES.update(
HAS_CONNECTX=True,
)

Просмотреть файл

@ -135,7 +135,7 @@ EXTRA_COMPONENTS += [
]
if CONFIG['OS_TARGET'] == 'Darwin':
if CONFIG['HOST_MAJOR_VERSION'] == '15':
if CONFIG['HOST_MAJOR_VERSION'] >= '15':
DEFINES.update(
HAS_CONNECTX=True,
)