summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-11-02 20:31:13 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-11-02 20:31:13 -0400
commit873f2cf8cc30125d6c573210f328bc71b95cdc5b (patch)
tree580b06d4df15ff5f8a9c3f20468bf2160ac666e5 /media
parent21b3f6247403c06f85e1f45d219f87549862198f (diff)
downloadUXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar.gz
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar.lz
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.tar.xz
UXP-873f2cf8cc30125d6c573210f328bc71b95cdc5b.zip
Issue #1265 - 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 b6d07126a..772aa6d39 100644
--- a/media/libcubeb/src/moz.build
+++ b/media/libcubeb/src/moz.build
@@ -39,7 +39,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 1b17c7b1c..ca63a4d8f 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',
]