[oe-commits] Richard Purdie : udev-141: Fix staging of . pc file due to exec_prefix being ''
git version control
git at git.openembedded.org
Fri Nov 13 06:54:16 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: f2d481cd787cb7a721439a535835c1af10090374
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f2d481cd787cb7a721439a535835c1af10090374
Author: Richard Purdie <rpurdie at linux.intel.com>
Date: Thu Nov 12 22:15:19 2009 +0000
udev-141: Fix staging of .pc file due to exec_prefix being ''
Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>
---
recipes/udev/udev_141.bb | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb
index a0e0381..006be64 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/
}
More information about the Openembedded-commits
mailing list