diff --git a/config/external/nspr/pr/moz.build b/config/external/nspr/pr/moz.build index d4fee38f7881..d592b219f872 100644 --- a/config/external/nspr/pr/moz.build +++ b/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, ) diff --git a/netwerk/protocol/http/moz.build b/netwerk/protocol/http/moz.build index 324b7e6fe7d6..06b52a72af98 100644 --- a/netwerk/protocol/http/moz.build +++ b/netwerk/protocol/http/moz.build @@ -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, )