From 6a8bc734b09abf7a241d27fe2daa0ab5fff8884c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 7 Mar 2021 21:07:14 +0100 Subject: [PATCH] kdevelop: Fix sysroot path in source properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-kde/apps/kdevelop/kdevelop.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-kde/apps/kdevelop/kdevelop.bb b/recipes-kde/apps/kdevelop/kdevelop.bb index 74a6bcd7..18d5093f 100644 --- a/recipes-kde/apps/kdevelop/kdevelop.bb +++ b/recipes-kde/apps/kdevelop/kdevelop.bb @@ -63,7 +63,10 @@ EXTRA_OECMAKE += "-DBUILD_TESTING=OFF" do_configure_append() { # although the name is missleading I still love cmake_extra_sanity.bbclass... - sed -i 's:${STAGING_DIR_NATIVE}::g' ${B}/plugins/clang/libclang_include_path.h + sed -i \ + -e 's:${STAGING_DIR_NATIVE}::g' \ + -e 's:${STAGING_DIR_HOST}::g' \ + ${B}/plugins/clang/libclang_include_path.h } # Yeah nasty but...