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 <[email protected]> --- 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} -- 2.1.4 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
