summaryrefslogtreecommitdiff
path: root/media/libcubeb/src/moz.build
diff options
context:
space:
mode:
authorCoordinator Tobin <mattatobin@no-reply.palemoon.org>2021-08-19 02:37:04 +0000
committerCoordinator Tobin <mattatobin@no-reply.palemoon.org>2021-08-19 02:37:04 +0000
commit4ac28d1d48cf50c418978cb3887f2730a0428332 (patch)
tree3b6f8f12b986a4a119c511676861c879fd2d5a0b /media/libcubeb/src/moz.build
parenta5a14974a1c47e9359927e2c80926f689f7bf9c6 (diff)
parent9d4f14582bcf9663914ab3ac6bcd56adeb8ce03d (diff)
downloaduxp-4ac28d1d48cf50c418978cb3887f2730a0428332.tar.gz
Merge pull request 'Follow-up: New libcubeb uses incorrect audio backend for Oracle Solaris.' (#1809) from athenian200/UXP:use_sun_audio into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1809
Diffstat (limited to 'media/libcubeb/src/moz.build')
-rw-r--r--media/libcubeb/src/moz.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/media/libcubeb/src/moz.build b/media/libcubeb/src/moz.build
index a67098d8dd..bba0d5f8b5 100644
--- a/media/libcubeb/src/moz.build
+++ b/media/libcubeb/src/moz.build
@@ -36,12 +36,18 @@ if CONFIG['MOZ_JACK']:
]
DEFINES['USE_JACK'] = True
-if CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD', 'SunOS'):
+if CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD'):
SOURCES += [
'cubeb_oss.c',
]
DEFINES['USE_OSS'] = True
+if CONFIG['OS_ARCH'] == 'SunOS':
+ SOURCES += [
+ 'cubeb_sun.c',
+ ]
+ DEFINES['USE_SUN'] = True
+
if CONFIG['OS_TARGET'] == 'WINNT':
SOURCES += [
'cubeb_resampler.cpp',