summaryrefslogtreecommitdiff
path: root/meta/recipes-core/udev
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-04 19:19:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:42:36 +0000
commitf8797bbba22e9b22bab3ddeb59cd3f33a816fa72 (patch)
treecf3636192165af2c896e53dc61611f39389c0d13 /meta/recipes-core/udev
parent6d722967e2b6905f2bc0b32fc30228ec889529ff (diff)
downloadopenembedded-core-f8797bbba22e9b22bab3ddeb59cd3f33a816fa72.tar.gz
openembedded-core-f8797bbba22e9b22bab3ddeb59cd3f33a816fa72.tar.bz2
openembedded-core-f8797bbba22e9b22bab3ddeb59cd3f33a816fa72.zip
udev: Fix build with eglibc 2.17
Link with librt to get definitions of mq_* functions Fixes errors like below /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/udev/182-r3/udev-182/src/sd-daemon.c:394: undefined reference to `mq_getattr' | collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/udev')
-rw-r--r--meta/recipes-core/udev/udev.inc3
-rw-r--r--meta/recipes-core/udev/udev_182.bb2
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 4705b9b7cd..9f60b17567 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -9,7 +9,8 @@ LICENSE_libgudev = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \
file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266"
-
+
+LDFLAGS += "-lrt"
DEPENDS = "acl glib-2.0 libusb usbutils pciutils gperf-native libxslt-native util-linux"
RPROVIDES_${PN} = "hotplug"
diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb
index 0ae9f8c6b6..cf0f126b92 100644
--- a/meta/recipes-core/udev/udev_182.bb
+++ b/meta/recipes-core/udev/udev_182.bb
@@ -1,6 +1,6 @@
include udev.inc
-PR = "r3"
+PR = "r4"
# module-init-tools from kmod_git will provide libkmod runtime
DEPENDS += "module-init-tools"