[oe-commits] Joshua Lock : gsoap: fix DEPENDS to prevent link failure for gsoap-native
git at git.openembedded.org
git at git.openembedded.org
Fri Sep 18 11:06:17 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: a168dc017025daacf764e5aac14bbe8b5f84d825
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a168dc017025daacf764e5aac14bbe8b5f84d825
Author: Joshua Lock <joshua.lock at collabora.co.uk>
Date: Wed Sep 16 16:32:38 2015 +0100
gsoap: fix DEPENDS to prevent link failure for gsoap-native
With a fairly high number of threads I can reliably trigger the
following linker failure in gsoap-native:
| /usr/bin/ld: cannot find -ly
| collect2: error: ld returned 1 exit status
| Makefile:402: recipe for target 'soapcpp2' failed
Change the DEPENDS to include bison and let the BBCLASSEXTENDS
machinery fix DEPENDS for -native and -target variants, only
additonally adding gsoap-native to the DEPENDS for the target
recipe.
Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb
index b5c3995..6da08ac 100644
--- a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb
+++ b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb
@@ -20,8 +20,8 @@ PARALLEL_MAKE = ""
EXTRA_OEMAKE_class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"
-DEPENDS_class-target = "gsoap-native openssl zlib"
-DEPENDS_class-native = "flex-native"
+DEPENDS = "openssl zlib flex bison"
+DEPENDS_append_class-target = " gsoap-native"
do_install_append() {
install -d ${D}${libdir}
More information about the Openembedded-commits
mailing list