mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
build-sys: meson: Add some missing checks
- Header and function checks from configure.ac (some libc, some libpthread, dladdr from libdl) - Find iconv and check constness
This commit is contained in:
parent
91fb54dab1
commit
493e7f3582
6 changed files with 65 additions and 8 deletions
|
|
@ -31,7 +31,7 @@ executable('pulseaudio',
|
|||
include_directories : [configinc, topinc],
|
||||
link_args : ['-ffast-math'],
|
||||
link_with : [libpulsecore, libpulsecommon, libpulse],
|
||||
dependencies : [ltdl_dep, cap_dep, dbus_dep, libsystemd_dep],
|
||||
dependencies : [ltdl_dep, cap_dep, dbus_dep, libsystemd_dep, dl_dep],
|
||||
c_args : pa_c_args,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,10 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
|||
link_args : [nodelete_link_args],
|
||||
install : true,
|
||||
install_dir : privlibdir,
|
||||
dependencies : [libm_dep, thread_dep, shm_dep, sndfile_dep, dbus_dep, x11_dep, libsystemd_dep, glib_dep, gtk_dep, asyncns_dep],
|
||||
dependencies : [
|
||||
libm_dep, thread_dep, dl_dep, shm_dep, iconv_dep, sndfile_dep, dbus_dep,
|
||||
x11_dep, libsystemd_dep, glib_dep, gtk_dep, asyncns_dep
|
||||
],
|
||||
implicit_include_directories : false)
|
||||
|
||||
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ libpulse = shared_library('pulse',
|
|||
link_args : [nodelete_link_args, versioning_link_args],
|
||||
install : true,
|
||||
install_rpath : privlibdir,
|
||||
dependencies : [libm_dep, thread_dep, libpulsecommon_dep, dbus_dep],
|
||||
dependencies : [libm_dep, thread_dep, libpulsecommon_dep, dbus_dep, dl_dep, iconv_dep],
|
||||
implicit_include_directories : false)
|
||||
|
||||
libpulse_dep = declare_dependency(link_with: libpulse)
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ norun_tests = [
|
|||
[ 'remix-test', 'remix-test.c',
|
||||
[ libpulse_dep, libpulsecommon_dep, libpulsecore_dep ] ],
|
||||
[ 'rtstutter', 'rtstutter.c',
|
||||
[ libpulse_dep, libpulsecommon_dep, libpulsecore_dep ] ],
|
||||
[ thread_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep ] ],
|
||||
[ 'sig2str-test', 'sig2str-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep ] ],
|
||||
[ 'stripnul', 'stripnul.c',
|
||||
|
|
|
|||
|
|
@ -94,8 +94,8 @@ if cc.has_header('sys/soundcard.h')
|
|||
install_rpath : privlibdir,
|
||||
include_directories : [configinc, topinc],
|
||||
link_with : [libpulsecommon, libpulse],
|
||||
link_args : [nodelete_link_args, '-ldl'],
|
||||
dependencies: [thread_dep],
|
||||
link_args : [nodelete_link_args],
|
||||
dependencies: [thread_dep, dl_dep],
|
||||
c_args : [pa_c_args, '-Wno-nonnull-compare']
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue