From: Ross Burton Date: Fri, 9 Jan 2026 13:11:28 +0000 (+0000) Subject: parted: use libtool to install test binaries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a71d929182fac7d1cbd163c7f18e8a8eaf3b89;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git parted: use libtool to install test binaries If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.6.bb index 6fc2cb3b3aa..8f703d162ff 100644 --- a/meta/recipes-extended/parted/parted_3.6.bb +++ b/meta/recipes-extended/parted/parted_3.6.bb @@ -45,8 +45,8 @@ do_install_ptest() { -e "s|^Makefile:.*|Makefile:|g" \ -e "/^BUILDINFO.*$/d" \ -i $t/tests/Makefile - for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \ - do cp ${B}/tests/.libs/$i $t/tests/; \ + for i in print-align print-max print-flags dup-clobber duplicate fs-resize; do + ${B}/libtool --mode=install install ${B}/tests/$i $t/tests/ done sed -e 's| ../parted||' -i $t/tests/*.sh }