kdevelop: Fix sysroot path in source properly

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2021-03-07 21:07:14 +01:00
parent 73a23cabed
commit 6a8bc734b0

View File

@@ -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...