mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-17 22:48:28 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user