Patchwork [meta-oe,V2] systemd: Link with librt explicitly on uclibc

login
register
mail settings
Submitter Khem Raj
Date Aug. 5, 2011, 8 p.m.
Message ID <1312574418-21041-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/9405/
State New, archived
Headers show

Comments

Khem Raj - Aug. 5, 2011, 8 p.m.
Latest systemd has started to use mq_* functions
which are found on librt in uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Koen Kooi - Aug. 6, 2011, 8:34 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 05-08-11 22:00, Khem Raj schreef:
> Latest systemd has started to use mq_* functions which are found on librt in uclibc.
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Thanks, applied
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOPPyQMkyGM64RGpERAspaAKCLPSEnOmzskjhU42yfTPPPMtL6AACgvbp2
RBriclJTaa8wr+irhgfX0Ag=
=cCP+
-----END PGP SIGNATURE-----

Patch

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"