[oe-commits] Khem Raj : systemd: Link with librt explicitly on uclibc

git version control git at git.openembedded.org
Sat Aug 6 08:34:44 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: e7573fb3c7a3e7e8ef0aae5acfd875fd133bf070
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=e7573fb3c7a3e7e8ef0aae5acfd875fd133bf070

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Aug  6 04:00:18 2011 +0000

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 <raj.khem at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index 7a35f79..44f2e7f 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"





More information about the Openembedded-commits mailing list