mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: meson: only require libltdl if daemon is built
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/557>
This commit is contained in:
parent
188f9772c8
commit
6e04c0a704
1 changed files with 5 additions and 2 deletions
|
|
@ -561,8 +561,11 @@ if host_machine.cpu_family() == 'arm'
|
||||||
endif
|
endif
|
||||||
# NEON checks are automatically done by the unstable-simd module
|
# NEON checks are automatically done by the unstable-simd module
|
||||||
|
|
||||||
# FIXME: make sure it's >= 2.2
|
if get_option('daemon')
|
||||||
ltdl_dep = cc.find_library('ltdl', required : true)
|
# FIXME: make sure it's >= 2.2
|
||||||
|
ltdl_dep = cc.find_library('ltdl', required : true)
|
||||||
|
endif
|
||||||
|
|
||||||
# FIXME: can meson support libtool -dlopen/-dlpreopen things?
|
# FIXME: can meson support libtool -dlopen/-dlpreopen things?
|
||||||
# and do we still want to support this at all?
|
# and do we still want to support this at all?
|
||||||
cdata.set('DISABLE_LIBTOOL_PRELOAD', 1)
|
cdata.set('DISABLE_LIBTOOL_PRELOAD', 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue