aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-24 12:38:26 -0700
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-09 18:40:21 +0200
commit030296b6a5380d46c7732aaebbb25a0fb8af79b4 (patch)
treebef0f8e2f1ae2d5d9d699033467b0897818ffd7e
parenta64ec2dcbe91a9d8ba6a9cb42ae6c8fc28eae2ba (diff)
downloadmeta-openembedded-030296b6a5380d46c7732aaebbb25a0fb8af79b4.tar.gz
meta-openembedded-030296b6a5380d46c7732aaebbb25a0fb8af79b4.tar.bz2
meta-openembedded-030296b6a5380d46c7732aaebbb25a0fb8af79b4.zip
udev: link librt explicitly on uclibc
Some functions used by udev are in librt in uclibc case therefore add -lrt to linker flags when building for uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-core/udev/udev_182.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/udev/udev_182.bb b/meta-oe/recipes-core/udev/udev_182.bb
index f2bdd757e..7d88aed92 100644
--- a/meta-oe/recipes-core/udev/udev_182.bb
+++ b/meta-oe/recipes-core/udev/udev_182.bb
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \
file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266"
+PR = "r1"
# glib-2.0: Needed for udev-extras
# util-linux: Needed for libblkid
# kmod: needed for libkmod
@@ -51,6 +52,7 @@ do_configure_prepend() {
cp ${WORKDIR}/gtk-doc.make ${S}
}
+LDFLAGS_prepend-libc-uclibc = " -lrt "
PACKAGES =+ "${PN}-systemd libudev libgudev udev-consolekit udev-utils"
FILES_${PN}-systemd = "${systemd_unitdir}"