Skip to contentSkip to conversation

systemd: Link with librt explicitly on uclibc

PATCH Applied Khem Raj 2 participants 2 messages Aug 5, 2011 – Aug 6, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 systemd: Link with librt explicitly on uclibc

Latest systemd has started to use mq_* functions
which are found on librt in uclibc.

---
 meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta-oe/recipes-core/systemd/systemd_git.bb +2 -0
index 7a35f79..44f2e7f 100644
@@ -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"
Signature · 1 line
1.7.4.1
Applied
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 05-08-11 22:00, Khem Raj schreef:

Quoted 3 lines

Latest systemd has started to use mq_* functions which are found on librt in uclibc.

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

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