vsftpd-2.0.5: added dependency for correct build order
authorPeter Gsellmann <pgsellmann@portner-elektronik.at>
Thu, 10 Mar 2011 22:53:27 +0000 (22:53 +0000)
committerKhem Raj <raj.khem@gmail.com>
Sat, 12 Mar 2011 20:46:21 +0000 (12:46 -0800)
vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.

Signed-off-by: Peter Gsellmann <pgsellmann@portner-elektronik.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/vsftpd/vsftpd_2.0.5.bb

index 518628e..42a8236 100644 (file)
@@ -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() {