From e46016ad3b46b791676397365f99653b2add38d6 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 18 Oct 2010 17:36:01 +0200 Subject: vsftpd: fix build when libcap is enabled Signed-off-by: Peter Korsgaard --- package/vsftpd/vsftpd.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk index c8c68d27b..64a56ccf2 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) -- cgit v1.2.3