From 724f68b5675f71fbafb5816c7d0e9e6b2d615eee Mon Sep 17 00:00:00 2001 From: Peter Gsellmann Date: Thu, 10 Mar 2011 22:53:27 +0000 Subject: [PATCH] vsftpd-2.0.5: added dependency for correct build order vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs. Signed-off-by: Peter Gsellmann Signed-off-by: Khem Raj --- recipes/vsftpd/vsftpd_2.0.5.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb index 518628e4f5..42a8236b16 100644 --- a/recipes/vsftpd/vsftpd_2.0.5.bb +++ b/recipes/vsftpd/vsftpd_2.0.5.bb @@ -1,7 +1,9 @@ DESCRIPTION = "Secure ftp daemon" SECTION = "console/network" LICENSE = "GPL" -PR = "r2" +PR = "r3" + +DEPENDS = "libcap" SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \ file://makefile.patch \ @@ -20,7 +22,7 @@ do_configure() { } do_compile() { - oe_runmake "LIBS=-lcrypt -L${STAGING_LIBDIR}" + oe_runmake "LIBS=-L${STAGING_LIBDIR} -lcrypt -lcap" } do_install() { -- 2.39.5