aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2021-10-25 11:46:31 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-10-28 21:12:14 -0400
commit70c8f5f48784d82dc338ec2346a6e1205cb432c1 (patch)
tree8d58a4710e741448f8c64ef2e26003911720e8d4
parentd33dd7566e3d5e28d250354bbbee9af7350734f9 (diff)
downloadmeta-cloud-services-hardknott.zip
meta-cloud-services-hardknott.tar.gz
meta-cloud-services-hardknott.tar.bz2
python3-posix-ipc: Add LDSHARED to recipehardknott
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 <trevor.gamblin@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb2
1 files changed, 2 insertions, 0 deletions
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} += " \
"