Bug 1247630 - Add CoreServices to OS_LIBS on OS X to fix standalone NSPR build. r=ted
authorJan de Mooij <jdemooij@mozilla.com>
Tue, 16 Feb 2016 16:53:10 +0100
changeset 284363 1a281e177105467ba648d0fa717cc82cba4f2fb8
parent 284362 5d65efb34cd5ebdde5f6ff09de25fcb4165820d0
child 284364 3418b24c9e474b04ac0bd6290416fcfe55212d38
push id71928
push userjandemooij@gmail.com
push dateTue, 16 Feb 2016 15:55:18 +0000
treeherdermozilla-inbound@1a281e177105 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1247630
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1247630 - Add CoreServices to OS_LIBS on OS X to fix standalone NSPR build. r=ted
config/external/nspr/pr/moz.build
--- a/config/external/nspr/pr/moz.build
+++ b/config/external/nspr/pr/moz.build
@@ -32,16 +32,17 @@ if CONFIG['OS_ARCH'] == 'Linux':
 elif CONFIG['OS_TARGET'] in ('FreeBSD', 'OpenBSD', 'NetBSD'):
     DEFINES.update(
         HAVE_BSD_FLOCK=True,
         HAVE_SOCKLEN_T=True,
     )
     DEFINES[CONFIG['OS_TARGET'].upper()] = True
     SOURCES += ['/nsprpub/pr/src/md/unix/%s.c' % CONFIG['OS_TARGET'].lower()]
 elif CONFIG['OS_TARGET'] == 'Darwin':
+    OS_LIBS += ['-framework CoreServices']
     DEFINES.update(
         DARWIN=True,
         HAVE_BSD_FLOCK=True,
         HAVE_SOCKLEN_T=True,
     )
     SOURCES += [
         '/nsprpub/pr/src/md/unix/darwin.c',
         '/nsprpub/pr/src/md/unix/os_Darwin.s',