mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
meson: Build pax11publish only if X11 is found
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
c57b68efde
commit
ce16b373b2
1 changed files with 13 additions and 11 deletions
|
|
@ -48,6 +48,7 @@ executable('pacmd',
|
||||||
c_args : pa_c_args,
|
c_args : pa_c_args,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if x11_dep.found()
|
||||||
pax11publish_sources = [
|
pax11publish_sources = [
|
||||||
'pax11publish.c',
|
'pax11publish.c',
|
||||||
]
|
]
|
||||||
|
|
@ -60,6 +61,7 @@ executable('pax11publish',
|
||||||
dependencies : [x11_dep],
|
dependencies : [x11_dep],
|
||||||
c_args : pa_c_args,
|
c_args : pa_c_args,
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
if cc.has_header('sys/soundcard.h')
|
if cc.has_header('sys/soundcard.h')
|
||||||
libpulsecommon_sources = [
|
libpulsecommon_sources = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue