summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/cython.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cython.bbclass b/meta/classes-recipe/cython.bbclass
index f37ebeb23f..53b84f5f5e 100644
--- a/meta/classes-recipe/cython.bbclass
+++ b/meta/classes-recipe/cython.bbclass
@@ -7,5 +7,5 @@ do_compile[postfuncs] = "strip_cython_metadata"
7strip_cython_metadata() { 7strip_cython_metadata() {
8 # Remove the Cython Metadata headers that we don't need after the build, and 8 # Remove the Cython Metadata headers that we don't need after the build, and
9 # may contain build paths. 9 # may contain build paths.
10 find ${S} -name "*.c" -print0 | xargs -0 sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" 10 find ${S} -name "*.c" -print0 | xargs --no-run-if-empty --null sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d"
11} 11}