summaryrefslogtreecommitdiff
path: root/js/src/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/moz.build')
-rw-r--r--js/src/moz.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index a0f074d1c7..d1e80b4ce8 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -291,7 +291,6 @@ UNIFIED_SOURCES += [
'jspropertytree.cpp',
'jsscript.cpp',
'jsstr.cpp',
- 'jswatchpoint.cpp',
'jsweakmap.cpp',
'perf/jsperf.cpp',
'proxy/BaseProxyHandler.cpp',
@@ -721,6 +720,14 @@ if CONFIG['OS_ARCH'] == 'Linux':
'dl',
]
+if CONFIG['OS_ARCH'] == 'SunOS':
+ OS_LIBS += [
+ 'posix4',
+ 'dl',
+ 'nsl',
+ 'socket',
+ ]
+
OS_LIBS += CONFIG['REALTIME_LIBS']
CFLAGS += CONFIG['MOZ_ICU_CFLAGS']