Bug 1596546: disable sndio lazy loading on OpenBSD, and directly link with it r=kinetik

unveil() work in bug #1580271 broke sound playback

Differential Revision: https://phabricator.services.mozilla.com/D53079

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Landry Breuil 2019-11-15 06:33:19 +00:00
parent 1f5c120ffe
commit 6cd8db12f6
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ if CONFIG['OS_ARCH'] == 'OpenBSD':
'cubeb_sndio.c',
]
DEFINES['USE_SNDIO'] = True
DEFINES['DISABLE_LIBSNDIO_DLOPEN'] = True
if CONFIG['OS_TARGET'] == 'Darwin':
SOURCES += [

View File

@ -265,6 +265,11 @@ OS_LIBS += CONFIG['ICONV_LIBS']
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit'):
OS_LIBS += CONFIG['TK_LIBS']
if CONFIG['OS_ARCH'] == 'OpenBSD':
OS_LIBS += [
'sndio',
]
if CONFIG['MOZ_ENABLE_DBUS']:
OS_LIBS += CONFIG['MOZ_DBUS_GLIB_LIBS']