[oe] [PATCH] vsftpd-2.0.5: added dependency for correct build order
Peter Gsellmann
pgsellmann at portner-elektronik.at
Thu Mar 10 14:53:27 UTC 2011
vsftpd needs the cap_* functions; if the library libcap is not built before vsftpd, an error occurs.
Signed-off-by: Peter Gsellmann <pgsellmann at portner-elektronik.at>
---
recipes/vsftpd/vsftpd_2.0.5.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb
index 518628e..2486744 100644
--- a/recipes/vsftpd/vsftpd_2.0.5.bb
+++ b/recipes/vsftpd/vsftpd_2.0.5.bb
@@ -3,6 +3,8 @@ SECTION = "console/network"
LICENSE = "GPL"
PR = "r2"
+DEPENDS = "libcap"
+
SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
file://makefile.patch \
file://nopam.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() {
--
1.7.2.3
More information about the Openembedded-devel
mailing list