diff mbox

[2/2] vsftpd: add linux-pam support

Message ID 1344790876-27962-2-git-send-email-danomimanchego123@gmail.com
State Accepted
Commit d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac
Headers show

Commit Message

Danomi Manchego Aug. 12, 2012, 5:01 p.m. UTC
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/vsftpd/vsftpd.mk |    5 +++++
 1 file changed, 5 insertions(+)

Comments

Peter Korsgaard Sept. 12, 2012, 10:22 p.m. UTC | #1
>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:

 Danomi> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>

Committed, thanks.
diff mbox

Patch

diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index ca711bb..ce042c5 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)