summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-16 12:46:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-16 16:35:06 +0100
commit791bb6f1c95552a44660bb78c522fd8ecc4e6384 (patch)
treecb8993bbe7903d0296ca5e1371585cbed5b0ddd3
parent2ade2c53388c92d36b8b30dae30670fd96ca4821 (diff)
downloadopenembedded-core-contrib-791bb6f1c95552a44660bb78c522fd8ecc4e6384.tar.gz
openembedded-core-contrib-791bb6f1c95552a44660bb78c522fd8ecc4e6384.tar.bz2
openembedded-core-contrib-791bb6f1c95552a44660bb78c522fd8ecc4e6384.zip
apr/apr-util: Add ptest dependency on libgcc
Avoid: libgcc_s.so.1 must be installed for pthread_cancel to work when running the ptest without libgcc. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/apr/apr-util_1.6.1.bb1
-rw-r--r--meta/recipes-support/apr/apr_1.7.0.bb2
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.6.1.bb b/meta/recipes-support/apr/apr-util_1.6.1.bb
index 0c90f8d252..1f9fea25d8 100644
--- a/meta/recipes-support/apr/apr-util_1.6.1.bb
+++ b/meta/recipes-support/apr/apr-util_1.6.1.bb
@@ -79,6 +79,7 @@ INSANE_SKIP_${PN} += "dev-so"
inherit ptest
RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-iso8859-1 glibc-gconv-iso8859-2 glibc-gconv-utf-7"
+RDEPENDS_${PN}-ptest += "libgcc"
do_compile_ptest() {
cd ${B}/test
diff --git a/meta/recipes-support/apr/apr_1.7.0.bb b/meta/recipes-support/apr/apr_1.7.0.bb
index a58651d077..09a65bfdd6 100644
--- a/meta/recipes-support/apr/apr_1.7.0.bb
+++ b/meta/recipes-support/apr/apr_1.7.0.bb
@@ -53,6 +53,8 @@ do_configure_prepend() {
FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
RDEPENDS_${PN}-dev += "bash"
+RDEPENDS_${PN}-ptest += "libgcc"
+
#for some reason, build/libtool.m4 handled by buildconf still be overwritten
#when autoconf, so handle it again.
do_configure_append() {