summaryrefslogtreecommitdiff
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
commit695c6b8c36f16e41662e5bf9254bca57c31fa063 (patch)
tree3b6f8f12b986a4a119c511676861c879fd2d5a0b
parent90a2ab9e31bd4066927fc13b9abd0b38125c8273 (diff)
parent2803ee62210f0213d549ca52ce7bb648ed1eaa95 (diff)
downloaduxp-695c6b8c36f16e41662e5bf9254bca57c31fa063.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
-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',