aboutsummaryrefslogtreecommitdiff
path: root/package/vsftpd/vsftpd.mk
diff options
context:
space:
mode:
authorGravatar Danomi Manchego <danomimanchego123@gmail.com>2012-08-12 07:01:16 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-09-13 00:19:43 +0200
commitd7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac (patch)
treecb356161d360a53e224ac84ee0f585ae2714d06b /package/vsftpd/vsftpd.mk
parentc8573284cd9ee0f93cd9740fd6472d09357ffb91 (diff)
downloadbuildroot-d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac.tar.gz
buildroot-d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac.tar.bz2
vsftpd: add linux-pam support
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/vsftpd/vsftpd.mk')
-rw-r--r--package/vsftpd/vsftpd.mk5
1 files changed, 5 insertions, 0 deletions
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)