mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: meson: Require xice, xsm and xtst for daemon only
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/613>
This commit is contained in:
parent
3fcd5e398d
commit
42af3ee083
1 changed files with 3 additions and 3 deletions
|
|
@ -681,9 +681,9 @@ endif
|
||||||
x11_dep = dependency('x11-xcb', required : get_option('x11'))
|
x11_dep = dependency('x11-xcb', required : get_option('x11'))
|
||||||
if x11_dep.found()
|
if x11_dep.found()
|
||||||
xcb_dep = dependency('xcb', required : true, version : '>= 1.6')
|
xcb_dep = dependency('xcb', required : true, version : '>= 1.6')
|
||||||
ice_dep = dependency('ice', required : true)
|
ice_dep = dependency('ice', required : get_option('daemon'))
|
||||||
sm_dep = dependency('sm', required : true)
|
sm_dep = dependency('sm', required : get_option('daemon'))
|
||||||
xtst_dep = dependency('xtst', required : true)
|
xtst_dep = dependency('xtst', required : get_option('daemon'))
|
||||||
cdata.set('HAVE_X11', 1)
|
cdata.set('HAVE_X11', 1)
|
||||||
if cc.has_function('XSetIOErrorExitHandler', dependencies: x11_dep)
|
if cc.has_function('XSetIOErrorExitHandler', dependencies: x11_dep)
|
||||||
cdata.set('HAVE_XSETIOERROREXITHANDLER', 1)
|
cdata.set('HAVE_XSETIOERROREXITHANDLER', 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue