summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanomi Manchego <danomimanchego123@gmail.com>2012-08-12 07:01:16 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-13 00:19:43 +0200
commitd7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac (patch)
treecb356161d360a53e224ac84ee0f585ae2714d06b
parentc8573284cd9ee0f93cd9740fd6472d09357ffb91 (diff)
downloadbuildroot-novena-d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac.tar.gz
buildroot-novena-d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac.zip
vsftpd: add linux-pam support
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 ca711bbfe..ce042c5ba 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)