ympd: add optional openssl dependency

Fixes:
 - http://autobuild.buildroot.net/results/d9b1375f5f8ecde8fef027344a5d5b288f7cee7c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018.05.x
Fabrice Fontaine 2018-03-11 10:09:33 +01:00 committed by Thomas Petazzoni
parent 84835f9471
commit 46680c9dc1
1 changed files with 7 additions and 0 deletions

View File

@ -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))