[oe-commits] [meta-openembedded] 02/21: openconnect: fix do_compile failure
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 14 13:51:38 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 11bb22326f32ff5b4c3acbedb2599f337f76eabc
Author: Qi.Chen at windriver.com <Qi.Chen at windriver.com>
AuthorDate: Thu May 12 12:20:29 2016 +0800
openconnect: fix do_compile failure
This patch solves the following error which appears now and then because of
parallel building.
../git/main.c:78:21: fatal error: version.c: No such file or directory
The problem is that version.c needs to be there when building some objects
which needs main.c. But version.c depends on main.c and is generated at
build time.
This patch fix the problem by generating version.c first before building others.
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-connectivity/openconnect/openconnect_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
index d8fe439..7f65345 100644
--- a/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
+++ b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
@@ -17,3 +17,7 @@ inherit autotools pkgconfig
EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \
--disable-static"
+
+do_compile_prepend() {
+ make version.c
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list