]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libcheck: Fix too long shebang for native case.
authorPaulo Neves <ptsneves@gmail.com>
Tue, 14 Jun 2022 15:11:05 +0000 (17:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2022 10:53:36 +0000 (11:53 +0100)
It requires a shebang wrapper due to the fact that awk interpreter
has an argument.

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>
meta/recipes-support/libcheck/libcheck_0.15.2.bb

index 188d689cc3b9fed3c04e363ae1c25ddd276d5b42..1393aa2a1cf4ce3d76091d282b4413936623a5ca 100644 (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"