summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-15 22:27:18 -0700
committerKhem Raj <raj.khem@gmail.com>2023-05-15 22:51:10 -0700
commit439239ca9c543b0913de054f01453796e373ac00 (patch)
treeb9e9f008c19f6f6c95ef0cbc5c1353ce6189bcaf
parent50601e60f7f561c94080d23e6ed25b62553406c2 (diff)
downloadmeta-openembedded-439239ca9c543b0913de054f01453796e373ac00.tar.gz
php: Remove buildpaths from scripts and generated headers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/php/php_8.2.6.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/php/php_8.2.6.bb b/meta-oe/recipes-devtools/php/php_8.2.6.bb
index 833a70fac3..7e2ea78a15 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.6.bb
+++ b/meta-oe/recipes-devtools/php/php_8.2.6.bb
@@ -143,6 +143,13 @@ do_configure:append() {
143 # No, libtool, we really don't want rpath set... 143 # No, libtool, we really don't want rpath set...
144 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 144 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
145 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool 145 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
146 sed -i -e's@${RECIPE_SYSROOT}@@g' \
147 -e's@-ffile-prefix-map=[^ ]*[ ]*@@g' \
148 -e's@-fdebug-prefix-map=[^ ]*[ ]*@@g' \
149 -e's@-ffile-prefix-map=[^ ]*[ ]*@@g' \
150 -e's@-fmacro-prefix-map=[^ ]*[ ]*@@g' \
151 ${B}/main/build-defs.h \
152 ${B}/scripts/php-config
146} 153}
147 154
148do_install:append:class-native() { 155do_install:append:class-native() {