summaryrefslogtreecommitdiffstats
path: root/toolkit/library/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/library/moz.build')
-rw-r--r--toolkit/library/moz.build19
1 files changed, 8 insertions, 11 deletions
diff --git a/toolkit/library/moz.build b/toolkit/library/moz.build
index ba7fb5032..ebba07b4a 100644
--- a/toolkit/library/moz.build
+++ b/toolkit/library/moz.build
@@ -24,12 +24,7 @@ def Libxul(name):
DELAYLOAD_DLLS += [
'comdlg32.dll',
- 'dbghelp.dll',
'netapi32.dll',
- 'PowrProf.dll',
- 'psapi.dll',
- 'rasapi32.dll',
- 'rasdlg.dll',
'secur32.dll',
'wininet.dll',
'winspool.drv'
@@ -63,11 +58,6 @@ def Libxul(name):
if CONFIG['MOZ_NEEDS_LIBATOMIC']:
OS_LIBS += ['atomic']
- # This option should go away in bug 1290972, but we need to wait until
- # Rust 1.12 has been released.
- if CONFIG['MOZ_RUST'] and CONFIG['OS_ARCH'] == 'Darwin':
- LDFLAGS += ['-Wl,-no_compact_unwind']
-
Libxul('xul')
SDK_LIBRARY = True
@@ -241,7 +231,7 @@ OS_LIBS += CONFIG['ICONV_LIBS']
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit'):
OS_LIBS += CONFIG['TK_LIBS']
-if CONFIG['OS_ARCH'] == 'OpenBSD':
+if CONFIG['MOZ_SNDIO']:
OS_LIBS += [
'sndio',
]
@@ -270,6 +260,13 @@ if CONFIG['MOZ_ENABLE_STARTUP_NOTIFICATION']:
if CONFIG['MOZ_ENABLE_LIBPROXY']:
OS_LIBS += CONFIG['MOZ_LIBPROXY_LIBS']
+if CONFIG['OS_ARCH'] == 'SunOS':
+ OS_LIBS += [
+ 'elf',
+ 'demangle',
+ 'sendfile',
+ ]
+
if CONFIG['OS_ARCH'] == 'FreeBSD':
OS_LIBS += [
'util',