aboutsummaryrefslogtreecommitdiff
path: root/package/vsftpd/vsftpd.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-10-18 17:36:01 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-10-18 17:36:01 +0200
commite46016ad3b46b791676397365f99653b2add38d6 (patch)
tree65939ee964edec1965872eb30570497aabb97f22 /package/vsftpd/vsftpd.mk
parent61e61aebce3316f55725d114240a206210188114 (diff)
downloadbuildroot-e46016ad3b46b791676397365f99653b2add38d6.tar.gz
buildroot-e46016ad3b46b791676397365f99653b2add38d6.tar.bz2
vsftpd: fix build when libcap is enabled
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 c8c68d27bc..64a56ccf22 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -19,6 +19,11 @@ VSFTPD_LIBS += -lssl
VSFTPD_POST_CONFIGURE_HOOKS += VSFTPD_ENABLE_SSL
endif
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+VSFTPD_DEPENDENCIES += libcap
+VSFTPD_LIBS += -lcap
+endif
+
define VSFTPD_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D)