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.

(From OE-Core rev: 791bb6f1c95552a44660bb78c522fd8ecc4e6384)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-05-16 12:46:03 +01:00
parent fd87837e36
commit ff472ffbb0
2 changed files with 3 additions and 0 deletions

View File

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

View File

@@ -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() {