[Buildroot] [PATCH 1/1] mpd: add optional libmpdclient dependency
Peter Korsgaard
peter at korsgaard.com
Mon Apr 2 13:11:08 UTC 2018
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> package/mpd/mpd.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
> diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
> index f50e3d90c7..e1569b64cf 100644
> --- a/package/mpd/mpd.mk
> +++ b/package/mpd/mpd.mk
> @@ -31,6 +31,13 @@ else
> MPD_CONF_OPTS += --disable-icu
> endif
> +ifeq ($(BR2_PACKAGE_LIBMPDCLIENT),y)
> +MPD_DEPENDENCIES += libmpdclient
All other optional dependencies are handled by a BR2_PACKAGE_MPD_<foo>
suboption. Any specific reason why you are not doing that here?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list