From: Paulo Neves Date: Tue, 14 Jun 2022 15:11:05 +0000 (+0200) Subject: libcheck: Fix too long shebang for native case. X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3730 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ced538ef2b6d509bec5a619837382de574c710e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libcheck: Fix too long shebang for native case. It requires a shebang wrapper due to the fact that awk interpreter has an argument. Signed-off-by: Paulo Neves Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libcheck/libcheck_0.15.2.bb b/meta/recipes-support/libcheck/libcheck_0.15.2.bb index 188d689cc3b..1393aa2a1cf 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"