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:
Jan Alexander Steffens (heftig) 2019-08-08 20:23:12 +02:00
parent 91fb54dab1
commit 493e7f3582
No known key found for this signature in database
GPG key ID: A5E9288C4FA415FA
6 changed files with 65 additions and 8 deletions

View file

@ -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']
)