mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
build: disable SHM if DBUS is not used
As libwrap is used by default, HAVE_SHM should only be true if directrenderer is not used to avoid useless work Change-Id: I9f819a7c06c667ccf08066f70104dcd3667f8546
This commit is contained in:
@ -147,7 +147,7 @@ else
|
||||
endif
|
||||
|
||||
conf.set10('HAVE_COREAUDIO', host_machine.system() == 'darwin')
|
||||
conf.set10('HAVE_SHM', host_machine.system() == 'linux' and meson.get_compiler('cpp').get_define('__ANDROID__') != '1')
|
||||
conf.set10('HAVE_SHM', get_option('interfaces').contains('dbus'))
|
||||
|
||||
configure_file(
|
||||
output: 'config.h',
|
||||
|
Reference in New Issue
Block a user