From: Ross Burton Date: Fri, 9 Jan 2026 13:11:24 +0000 (+0000) Subject: lzo: use libtool to install test binaries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddca815ff09b7eedab78c301ea24cb3cec85711e;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git lzo: 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/lzo/lzo_2.10.bb b/meta/recipes-support/lzo/lzo_2.10.bb index dbe789b4e6..fbf9f2dbac 100644 --- a/meta/recipes-support/lzo/lzo_2.10.bb +++ b/meta/recipes-support/lzo/lzo_2.10.bb @@ -23,10 +23,10 @@ EXTRA_OECONF = "--enable-shared" do_install_ptest() { t=${D}${PTEST_PATH} - cp ${S}/util/check.sh $t - cp ${B}/minilzo/testmini $t - for i in tests/align tests/chksum lzotest/lzotest examples/simple - do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \ + install ${S}/util/check.sh $t + install ${B}/minilzo/testmini $t + for i in tests/align tests/chksum lzotest/lzotest examples/simple; do + ${B}/libtool --mode=install install ${B}/$i $t done }