[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] build-sys: meson: only require libltdl if daemon is built

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Tue May 18 21:33:44 UTC 2021



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
6e04c0a7 by Igor V. Kovalenko at 2021-05-18T19:37:28+03:00
build-sys: meson: only require libltdl if daemon is built

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/557>

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -561,8 +561,11 @@ if host_machine.cpu_family() == 'arm'
 endif
 # NEON checks are automatically done by the unstable-simd module
 
-# FIXME: make sure it's >= 2.2
-ltdl_dep = cc.find_library('ltdl', required : true)
+if get_option('daemon')
+  # FIXME: make sure it's >= 2.2
+  ltdl_dep = cc.find_library('ltdl', required : true)
+endif
+
 # FIXME: can meson support libtool -dlopen/-dlpreopen things?
 #        and do we still want to support this at all?
 cdata.set('DISABLE_LIBTOOL_PRELOAD', 1)



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/6e04c0a7042d00fa8ed01efcb938495acc4ad617

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/6e04c0a7042d00fa8ed01efcb938495acc4ad617
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210518/aaa7ee46/attachment.htm>


More information about the pulseaudio-commits mailing list