From: Jeremy Puhlman Date: Tue, 17 Mar 2020 06:03:05 +0000 (-0700) Subject: glib-2.0: update ptest multilib fix X-Git-Tag: 2020-04-dunfell~119 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6baaf3a530d5e4d6015c1dc53a2849a20bafafe4;p=openembedded-core.git glib-2.0: update ptest multilib fix The updates to the tests are done in do_install instead of do_install_ptest, so the changes need to consider ptest not being turned on. Signed-off-by: Jeremy A. Puhlman Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index edecc51fdb..7ebed0e5fd 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc @@ -128,9 +128,11 @@ do_install_append_class-target () { rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test fi fi + if [ -f ${D}${datadir}/installed-tests/glib/static-link.test ]; then if test "x${MLPREFIX}" != "x"; then mv ${D}${datadir}/installed-tests/glib/static-link.test ${D}${datadir}/installed-tests/glib/${MLPREFIX}static-link.test fi + fi } # As we do not build python3 for windows, makes no sense to ship the script that's using it