diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-06-18 14:48:24 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-07 04:30:26 -1000 |
| commit | 725d9c170d2eaa478f82e9809696f00aa4e817fa (patch) | |
| tree | ff9deed26aa1531f9b82b9cbf1c3ec2c2118e367 /meta/recipes-devtools/python | |
| parent | a5d9fa0860f60eb4814c0055b03718a08cbbf71c (diff) | |
| download | poky-725d9c170d2eaa478f82e9809696f00aa4e817fa.tar.gz | |
python3-bcrypt: Use BFD linker when building tests
Some of the tests use symbols from libpython3 e.g. PyBytes_FromStringAndSize
but does not add it to linker cmdline, its perhaps cargo which
should be fixed for that, this however is not something we can
fix in OE. So switch to using bfd linker explicitly when
building with ptests
(From OE-Core rev: 353b9c765218ed631fc14a406fcdfe1c36a8237b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4392ebb512fa48168a48fbff3e9140a8e1b7ec4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb b/meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb index 9f5b81330b..42d5d4dfce 100644 --- a/meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb +++ b/meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb | |||
| @@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" | |||
| 4 | HOMEPAGE = "https://pypi.org/project/bcrypt/" | 4 | HOMEPAGE = "https://pypi.org/project/bcrypt/" |
| 5 | 5 | ||
| 6 | DEPENDS += "${PYTHON_PN}-cffi-native" | 6 | DEPENDS += "${PYTHON_PN}-cffi-native" |
| 7 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}" | ||
| 7 | 8 | ||
| 8 | SRC_URI[sha256sum] = "27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd" | 9 | SRC_URI[sha256sum] = "27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd" |
| 9 | 10 | ||
