summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-11-03 11:21:09 +0100
committerGitHub <noreply@github.com>2019-11-03 11:21:09 +0100
commit6ee3467a6cfa5a4bd5ca252e00e1b58c469a5011 (patch)
treec3b5a91ae1552adf053364c59bc1b4b2a1c36c12 /media
parentb7c6c779ee1d0100842822a1a9c63cd97d27644b (diff)
parent873f2cf8cc30125d6c573210f328bc71b95cdc5b (diff)
downloaduxp-6ee3467a6cfa5a4bd5ca252e00e1b58c469a5011.tar.gz
Merge pull request #1269 from g4jc/sndio
Expose sndio as a build option for any supporting system
Diffstat (limited to 'media')
-rw-r--r--media/libcubeb/src/moz.build2
-rw-r--r--media/libcubeb/tests/moz.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/media/libcubeb/src/moz.build b/media/libcubeb/src/moz.build
index be56876c6b..4b36b80fb6 100644
--- a/media/libcubeb/src/moz.build
+++ b/media/libcubeb/src/moz.build
@@ -43,7 +43,7 @@ if CONFIG['MOZ_JACK']:
]
DEFINES['USE_JACK'] = True
-if CONFIG['OS_ARCH'] == 'OpenBSD':
+if CONFIG['MOZ_SNDIO']:
SOURCES += [
'cubeb_sndio.c',
]
diff --git a/media/libcubeb/tests/moz.build b/media/libcubeb/tests/moz.build
index 1b17c7b1cb..ca63a4d8fe 100644
--- a/media/libcubeb/tests/moz.build
+++ b/media/libcubeb/tests/moz.build
@@ -68,7 +68,7 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit':
'-framework CoreFoundation',
'-framework AudioToolbox',
]
-elif CONFIG['OS_TARGET'] == 'OpenBSD':
+elif CONFIG['MOZ_SNDIO']:
OS_LIBS += [
'sndio',
]