summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjacobpanov <jacobpanov@gmail.com>2025-07-10 17:36:38 -0400
committerKhem Raj <raj.khem@gmail.com>2025-07-10 21:08:45 -0700
commit37a20d637b0fee7583535006ca8dd246d012649c (patch)
tree72485db728909792d9bdd8abadc522294080ff51
parent54035a19b3732d1280eaab80559e31a46865d5a8 (diff)
downloadmeta-openembedded-37a20d637b0fee7583535006ca8dd246d012649c.tar.gz
python3-posix-ipc: Add librt linking to enable message queue support
The posix_ipc module was being built without message queue support due to missing linkage with the real-time library (librt) during cross-compilation. This caused the MessageQueue class to be unavailable at runtime. Add LDFLAGS += -lrt to ensure proper linking and enable full POSIX IPC functionality including message queues. Fixes: #916 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb b/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb
index 05a73f2896..4f544c80bc 100644
--- a/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb
@@ -14,4 +14,8 @@ SRC_URI += " \
14 file://0002-build_support-handle-empty-max_priority-value-as-Non.patch \ 14 file://0002-build_support-handle-empty-max_priority-value-as-Non.patch \
15 file://0003-build_support-use-does_build_succeed-in-compile_and_.patch \ 15 file://0003-build_support-use-does_build_succeed-in-compile_and_.patch \
16" 16"
17
18# Message queue support requires librt for proper linking
19LDFLAGS += "-lrt"
20
17inherit pypi python_setuptools_build_meta 21inherit pypi python_setuptools_build_meta