diff options
Diffstat (limited to 'package/dante')
-rw-r--r-- | package/dante/dante.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/dante/dante.mk b/package/dante/dante.mk index a147aa36dc..9666ec54fd 100644 --- a/package/dante/dante.mk +++ b/package/dante/dante.mk @@ -12,7 +12,14 @@ DANTE_LICENSE_FILES = LICENSE # Dante uses a *VERY* old configure.ac DANTE_LIBTOOL_PATCH = NO -DANTE_CONF_OPTS += --disable-client --disable-preload --without-pam +DANTE_CONF_OPTS += --disable-client --disable-preload + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +DANTE_DEPENDENCIES += linux-pam +DANTE_CONF_OPTS += --with-pam +else +DANTE_CONF_OPTS += --without-pam +endif define DANTE_INSTALL_CONFIG_FILE $(INSTALL) -D -m 644 $(@D)/example/sockd.conf \ |