From 37a20d637b0fee7583535006ca8dd246d012649c Mon Sep 17 00:00:00 2001 From: jacobpanov Date: Thu, 10 Jul 2025 17:36:38 -0400 Subject: 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 --- meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb | 4 ++++ 1 file changed, 4 insertions(+) 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 += " \ file://0002-build_support-handle-empty-max_priority-value-as-Non.patch \ file://0003-build_support-use-does_build_succeed-in-compile_and_.patch \ " + +# Message queue support requires librt for proper linking +LDFLAGS += "-lrt" + inherit pypi python_setuptools_build_meta -- cgit v1.2.3-54-g00ecf