vsftpd: fix build when libcap is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
61e61aebce
commit
e46016ad3b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user