From 873f2cf8cc30125d6c573210f328bc71b95cdc5b Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sat, 2 Nov 2019 20:31:13 -0400 Subject: Issue #1265 - Expose sndio as a build option for any supporting system --- media/libcubeb/src/moz.build | 2 +- media/libcubeb/tests/moz.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'media') diff --git a/media/libcubeb/src/moz.build b/media/libcubeb/src/moz.build index b6d07126a3..772aa6d39f 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 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', ] -- cgit v1.2.3