diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-24 12:38:26 -0700 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-09 18:40:21 +0200 |
commit | 030296b6a5380d46c7732aaebbb25a0fb8af79b4 (patch) | |
tree | bef0f8e2f1ae2d5d9d699033467b0897818ffd7e | |
parent | a64ec2dcbe91a9d8ba6a9cb42ae6c8fc28eae2ba (diff) | |
download | meta-openembedded-030296b6a5380d46c7732aaebbb25a0fb8af79b4.tar.gz |
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.bb | 2 |
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 \ | |||
12 | file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \ | 12 | file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \ |
13 | file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266" | 13 | file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266" |
14 | 14 | ||
15 | PR = "r1" | ||
15 | # glib-2.0: Needed for udev-extras | 16 | # glib-2.0: Needed for udev-extras |
16 | # util-linux: Needed for libblkid | 17 | # util-linux: Needed for libblkid |
17 | # kmod: needed for libkmod | 18 | # kmod: needed for libkmod |
@@ -51,6 +52,7 @@ do_configure_prepend() { | |||
51 | cp ${WORKDIR}/gtk-doc.make ${S} | 52 | cp ${WORKDIR}/gtk-doc.make ${S} |
52 | } | 53 | } |
53 | 54 | ||
55 | LDFLAGS_prepend-libc-uclibc = " -lrt " | ||
54 | PACKAGES =+ "${PN}-systemd libudev libgudev udev-consolekit udev-utils" | 56 | PACKAGES =+ "${PN}-systemd libudev libgudev udev-consolekit udev-utils" |
55 | 57 | ||
56 | FILES_${PN}-systemd = "${systemd_unitdir}" | 58 | FILES_${PN}-systemd = "${systemd_unitdir}" |