From d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac Mon Sep 17 00:00:00 2001 From: Danomi Manchego Date: Sun, 12 Aug 2012 07:01:16 +0000 Subject: [PATCH] vsftpd: add linux-pam support Signed-off-by: Danomi Manchego Signed-off-by: Peter Korsgaard --- package/vsftpd/vsftpd.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk index ca711bbfe3..ce042c5ba9 100644 --- a/package/vsftpd/vsftpd.mk +++ b/package/vsftpd/vsftpd.mk @@ -23,6 +23,11 @@ VSFTPD_DEPENDENCIES += libcap VSFTPD_LIBS += -lcap endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +VSFTPD_DEPENDENCIES += linux-pam +VSFTPD_LIBS += -lpam +endif + define VSFTPD_BUILD_CMDS $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D) -- 2.30.2