diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb index f58760761a..4f6a3aba99 100644 --- a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb | |||
@@ -13,4 +13,10 @@ SRC_URI[sha256sum] = "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead | |||
13 | 13 | ||
14 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
15 | 15 | ||
16 | do_compile:prepend() { | ||
17 | if ! grep 'platform =' setup.cfg; then | ||
18 | printf "[build_ext]\nplatform = ${TARGET_ARCH}" >> setup.cfg | ||
19 | fi | ||
20 | } | ||
21 | |||
16 | RDEPENDS:${PN} += "python3-core" | 22 | RDEPENDS:${PN} += "python3-core" |