From 78da145c2f2fbd58e286e8ce983c2cc0b074e6a5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 5 Aug 2021 17:57:21 +0100 Subject: [PATCH] ruby: Fix DEBUG_PREFIX_MAP in LDFLAGS issue Signed-off-by: Richard Purdie --- meta/recipes-devtools/ruby/ruby_3.0.2.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/ruby/ruby_3.0.2.bb b/meta/recipes-devtools/ruby/ruby_3.0.2.bb index a082735574..0b9c342def 100644 --- a/meta/recipes-devtools/ruby/ruby_3.0.2.bb +++ b/meta/recipes-devtools/ruby/ruby_3.0.2.bb @@ -55,6 +55,10 @@ do_install:append:class-target () { -e 's:${RECIPE_SYSROOT}::g' \ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ ${D}$rbconfig_rb + + sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \ + ${D}${libdir}/pkgconfig/*.pc + } do_install_ptest () { -- 2.40.1