From 73f9326d2a7c6a60c805da6e2e7ffae4071c1062 Mon Sep 17 00:00:00 2001 From: Paulo Neves Date: Tue, 14 Jun 2022 17:11:05 +0200 Subject: libcheck: Fix too long shebang for native case. It requires a shebang wrapper due to the fact that awk interpreter has an argument. (From OE-Core rev: 3ced538ef2b6d509bec5a619837382de574c710e) Signed-off-by: Paulo Neves Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-support/libcheck/libcheck_0.15.2.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/libcheck/libcheck_0.15.2.bb b/meta/recipes-support/libcheck/libcheck_0.15.2.bb index 188d689cc3..1393aa2a1c 100644 --- a/meta/recipes-support/libcheck/libcheck_0.15.2.bb +++ b/meta/recipes-support/libcheck/libcheck_0.15.2.bb @@ -23,6 +23,9 @@ CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk" RREPLACES:${PN} = "check (<= 0.9.5)" +do_install:append:class-native() { + create_cmdline_shebang_wrapper ${D}${bindir}/checkmk +} BBCLASSEXTEND = "native nativesdk" PACKAGES =+ "checkmk" -- cgit v1.2.3-54-g00ecf