[oe-commits] [meta-openembedded] 02/22: openconnect: fix parallel compilation failure
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 13 09:20:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit fb19f493ff7336f7e2ee841d123a28247b8c74de
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Wed Aug 23 18:08:43 2017 +0800
openconnect: fix parallel compilation 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
version.c is generated at build time. And it's needed by some objects. So
it needs to be generated first to avoid compilation failure.
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 c944144..d327f0f 100644
--- a/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
+++ b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
@@ -25,3 +25,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