From 70c8f5f48784d82dc338ec2346a6e1205cb432c1 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 25 Oct 2021 11:46:31 -0400 Subject: python3-posix-ipc: Add LDSHARED to recipe Doing "import posix_ipc" on hardknott builds gives the following error: ImportError: /usr/lib/python3.9/site-packages/posix_ipc.cpython-39-x86_64-linux-gnu.so: undefined symbol: shm_unlink Set LDSHARED for the recipe with "-lrt" included to fix this. Signed-off-by: Trevor Gamblin Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb index 2e8dca0..cded499 100644 --- a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb +++ b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb @@ -20,6 +20,8 @@ DEPENDS += " \ ${PYTHON_PN}-pip \ " +LDSHARED="${CCLD} -shared -lrt" + # RDEPENDS_default: RDEPENDS_${PN} += " \ " -- cgit v1.2.3-54-g00ecf