mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
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:
parent
1f5c120ffe
commit
6cd8db12f6
@ -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 += [
|
||||
|
@ -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']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user