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