From: Ross Burton Date: Fri, 9 Jan 2026 13:11:25 +0000 (+0000) Subject: numactl: use libtool to install test binaries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e631b784b739142eea099828aa64f65775d093a3;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git numactl: 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-support/numactl/numactl_2.0.19.bb b/meta/recipes-support/numactl/numactl_2.0.19.bb index 5ac9380c6c..38c09199c3 100644 --- a/meta/recipes-support/numactl/numactl_2.0.19.bb +++ b/meta/recipes-support/numactl/numactl_2.0.19.bb @@ -40,7 +40,7 @@ do_install_ptest() { [ ! -d ${D}/${PTEST_PATH}/test ] && mkdir -p ${D}/${PTEST_PATH}/test for i in $test_binaries; do - install -m 0755 ${B}/test/.libs/$i ${D}${PTEST_PATH}/test + ${B}/libtool --mode=install install -m 0755 ${B}/test/$i ${D}${PTEST_PATH}/test done local test_scripts="checktopology checkaffinity printcpu regress regress2 \ @@ -50,7 +50,7 @@ do_install_ptest() { done install -m 0755 ${UNPACKDIR}/Makefile ${D}${PTEST_PATH}/ - install -m 0755 ${B}/.libs/numactl ${D}${PTEST_PATH}/ + ${B}/libtool --mode=install install -m 0755 ${B}/numactl ${D}${PTEST_PATH}/ } RDEPENDS:${PN}-ptest = "bash"