[Buildroot] [git commit master 1/1] vsftpd: fix build when libcap is enabled

Peter Korsgaard jacmet at sunsite.dk
Mon Oct 18 15:36:01 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=e46016ad3b46b791676397365f99653b2add38d6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/vsftpd/vsftpd.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index c8c68d2..64a56cc 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)
-- 
1.7.1




More information about the buildroot mailing list