From 46680c9dc13fdff28f07c3e86fbc1b778d457a31 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 11 Mar 2018 10:09:33 +0100 Subject: [PATCH] ympd: add optional openssl dependency Fixes: - http://autobuild.buildroot.net/results/d9b1375f5f8ecde8fef027344a5d5b288f7cee7c Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/ympd/ympd.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2