mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
meson: Add optional GLib support
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
5a6e45f5b4
commit
065a79ff8c
4 changed files with 13 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
|||
include_directories : [configinc, topinc],
|
||||
c_args : [pa_c_args],
|
||||
install : true,
|
||||
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, systemd_dep],
|
||||
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, systemd_dep, glib_dep],
|
||||
implicit_include_directories : false)
|
||||
|
||||
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
||||
|
|
|
|||
|
|
@ -61,6 +61,10 @@ libpulse_headers = [
|
|||
'xmalloc.h',
|
||||
]
|
||||
|
||||
if glib_dep.found()
|
||||
libpulse_headers += 'glib-mainloop.h'
|
||||
endif
|
||||
|
||||
libpulse = shared_library('pulse',
|
||||
libpulse_sources,
|
||||
libpulse_headers,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue