From e7573fb3c7a3e7e8ef0aae5acfd875fd133bf070 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 6 Aug 2011 04:00:18 +0000 Subject: [PATCH] systemd: Link with librt explicitly on uclibc Latest systemd has started to use mq_* functions which are found on librt in uclibc. Signed-off-by: Khem Raj Signed-off-by: Koen Kooi --- meta-oe/recipes-core/systemd/systemd_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index 7a35f79072..44f2e7f985 100644 --- a/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-oe/recipes-core/systemd/systemd_git.bb @@ -28,6 +28,8 @@ UCLIBCPATCHES_libc-uclibc = "file://paper-over-mkostemp.patch \ file://format-replace-m-uclibc.patch \ " +LDFLAGS_libc-uclibc_append = " -lrt" + S = "${WORKDIR}/git" SYSTEMDDISTRO ?= "debian"