diff options
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb index 8bdca32b71..7d4a6b4364 100644 --- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb +++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb @@ -28,3 +28,10 @@ RDEPENDS_${PN}-dev = "" RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" BBCLASSEXTEND = "native nativesdk" + +do_install_append() { + # Makefile's do_install creates .pyc files for python3, now also create + # them for python2 so that they will be recorded by manifest, and can be + # cleaned correctly. + python -m py_compile ${D}${libdir}/xcb-proto/xcbgen/*.py +} |