From f8797bbba22e9b22bab3ddeb59cd3f33a816fa72 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 4 Jan 2013 19:19:22 -0800 Subject: 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 Signed-off-by: Saul Wold --- meta/recipes-core/udev/udev.inc | 3 ++- meta/recipes-core/udev/udev_182.bb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'meta/recipes-core/udev') 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" -- cgit v1.2.3