From: Fabrice Fontaine Date: Sun, 11 Mar 2018 09:09:33 +0000 (+0100) Subject: ympd: add optional openssl dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46680c9dc13fdff28f07c3e86fbc1b778d457a31;p=buildroot.git ympd: add optional openssl dependency Fixes: - http://autobuild.buildroot.net/results/d9b1375f5f8ecde8fef027344a5d5b288f7cee7c Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/ympd/ympd.mk b/package/ympd/ympd.mk index e3f21e9eb0..6c0f3224cc 100644 --- a/package/ympd/ympd.mk +++ b/package/ympd/ympd.mk @@ -10,4 +10,11 @@ YMPD_LICENSE = GPL-2.0 YMPD_LICENSE_FILES = LICENSE YMPD_DEPENDENCIES = libmpdclient +ifeq ($(BR2_PACKAGE_OPENSSL),y) +YMPD_DEPENDENCIES += openssl +YMPD_CONF_OPTS += -DWITH_SSL=ON +else +YMPD_CONF_OPTS += -DWITH_SSL=OFF +endif + $(eval $(cmake-package))