summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-06-18 14:48:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-21 18:38:25 +0100
commitc9ac3632b27e34ff4da34a8d8593decfb45573ae (patch)
tree07fe36afd406b107ca8e960f44c2c42ee5825ecc
parentf9d22f26346564e1033539d6b4eb99d1ff280b85 (diff)
downloadpoky-c9ac3632b27e34ff4da34a8d8593decfb45573ae.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: b4392ebb512fa48168a48fbff3e9140a8e1b7ec4) 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>
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt_4.0.1.bb1
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 b4f245530d..d8377de96c 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"
4HOMEPAGE = "https://pypi.org/project/bcrypt/" 4HOMEPAGE = "https://pypi.org/project/bcrypt/"
5 5
6DEPENDS += "${PYTHON_PN}-cffi-native" 6DEPENDS += "${PYTHON_PN}-cffi-native"
7LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}"
7 8
8SRC_URI[sha256sum] = "27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd" 9SRC_URI[sha256sum] = "27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd"
9 10