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@collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Joshua Lock 2015-09-16 16:32:38 +01:00 committed by Martin Jansa
parent d33f7dacfe
commit 0cfc1d337d

View File

@ -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}