Fix error caused by modify of libtool from poky.
 libtool: don't prefix the installed binary
 -??????????????install -m 0755 ${HOST_SYS}-libtool 
${D}${bindir}/${HOST_SYS}-libtool
 +??????????????install -m 0755 libtool ${D}${bindir}/libtool

When executing do_configure of php-native, the folloing error occured:
sed: can't read x86_64-linux-libtool: No such file or directory

Signed-off-by: Zheng Ruoqin <zhengrq.f...@fujitsu.com>
---
 meta-oe/recipes-devtools/php/php_8.0.12.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php_8.0.12.bb 
b/meta-oe/recipes-devtools/php/php_8.0.12.bb
index 4f484179cc..38771948f1 100644
--- a/meta-oe/recipes-devtools/php/php_8.0.12.bb
+++ b/meta-oe/recipes-devtools/php/php_8.0.12.bb
@@ -141,8 +141,8 @@ EOF

 do_configure:append() {
     # No, libtool, we really don't want rpath set...
-    sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
${HOST_SYS}-libtool
-    sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' 
${HOST_SYS}-libtool
+    sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
+    sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 }

 do_install:append:class-native() {
--
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94313): 
https://lists.openembedded.org/g/openembedded-devel/message/94313
Mute This Topic: https://lists.openembedded.org/mt/87693930/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to