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 <[email protected]> --- meta/recipes-support/lzo/lzo_2.10.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229110): https://lists.openembedded.org/g/openembedded-core/message/229110 Mute This Topic: https://lists.openembedded.org/mt/117174296/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
