From f2d481cd787cb7a721439a535835c1af10090374 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 12 Nov 2009 22:15:19 +0000 Subject: udev-141: Fix staging of .pc file due to exec_prefix being '' Signed-off-by: Richard Purdie --- recipes/udev/udev_141.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'recipes/udev') diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb index a0e0381549..006be64545 100644 --- a/recipes/udev/udev_141.bb +++ b/recipes/udev/udev_141.bb @@ -6,7 +6,7 @@ LICENSE = "GPL" # Untested DEFAULT_PREFERENCE = "-1" -PR = "r13" +PR = "r14" # needed for init.d script RDEPENDS_${PN} += "udev-utils" @@ -104,4 +104,9 @@ do_stage_append() { install -m 0644 ${S}/extras/volume_id/lib/libvolume_id.h ${STAGING_INCDIR} oe_libinstall -C extras/volume_id/lib -so libvolume_id ${STAGING_LIBDIR} oe_libinstall -C udev/lib -so libudev ${STAGING_LIBDIR} + # Since we change exec_prefix above, autotools_stage_all will not see the .pc files + # When we upgrade to 145 with the path bugs fixed we can drop all this (see poky) + install -d ${STAGING_DIR_TARGET}${prefix}${libdir}/pkgconfig/ + install ${S}/extras/volume_id/lib/libvolume_id.pc ${STAGING_DIR_TARGET}${prefix}${libdir}/pkgconfig/ + install ${S}/udev/lib/libudev.pc ${STAGING_DIR_TARGET}${prefix}${libdir}/pkgconfig/ } -- cgit v1.2.3