[Bug 794350] meson: fix ladspa dependencies

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 27 08:32:18 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794350

--- Comment #11 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
(In reply to Nirbheek Chauhan from comment #10)
> Another thing you can do is:
> 
> lrdf_dep = dependency('lrdf', required : false)
> if not lrdf_dep.found()
>   lrdf_dep = []
> else
>   ...
> endif
> 
> Meson flattens dependency lists automatically.

Another thing is that you don't need to do that even. Not-found not-required
dependencies are just ignored by Meson, so you don't need to assign [] to it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list