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 <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paulo Neves
2022-06-14 17:11:05 +02:00
committed by Richard Purdie
parent eb997a6801
commit 73f9326d2a

View File

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