package/dante: add optional libminiupnpc dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-12-09 23:27:45 +01:00 committed by Peter Korsgaard
parent 525c22c983
commit fcd7b1ce3f

View File

@ -14,6 +14,13 @@ DANTE_AUTORECONF = YES
DANTE_CONF_OPTS += --disable-client --disable-preload
ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y)
DANTE_DEPENDENCIES += libminiupnpc
DANTE_CONF_OPTS += --with-upnp
else
DANTE_CONF_OPTS += --without-upnp
endif
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
DANTE_DEPENDENCIES += linux-pam
DANTE_CONF_OPTS += --with-pam