aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libusb
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-01-04 22:30:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 22:18:48 +0000
commited937940f54d1a376b518fc276da78811c4ac50b (patch)
tree94bf0387d8345345af362302ceb7445b89d6d394 /meta/recipes-support/libusb
parent0443487fe0bc628db9b03306bdc9dcdb39a121dc (diff)
downloadopenembedded-core-contrib-ed937940f54d1a376b518fc276da78811c4ac50b.tar.gz
libusb-compat: move libraries to base_libdir
udev links to libusb-compat, and so this library needs to be in base_libdir (/lib) instead of libdir (/usr/lib). Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb')
-rw-r--r--meta/recipes-support/libusb/libusb-compat_0.1.3.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.3.bb b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb
index ef8552bc44d..e07046362da 100644
--- a/meta/recipes-support/libusb/libusb-compat_0.1.3.bb
+++ b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb
@@ -15,7 +15,7 @@ DEPENDS = "libusb1"
PROVIDES = "libusb"
PE = "1"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \
file://0.1.0-beta1-gcc3.4-fix.patch"
@@ -24,3 +24,13 @@ SRC_URI[md5sum] = "570ac2ea085b80d1f74ddc7c6a93c0eb"
SRC_URI[sha256sum] = "a590a03b6188030ee1ca1a0af55685fcde005ca807b963970f839be776031d94"
inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "--libdir=${base_libdir}"
+
+do_install_append() {
+ install -d ${D}${libdir}
+ mv ${D}${base_libdir}/*.la ${D}${libdir}
+ mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
+}
+
+FILES_${PN}-dev += "${base_libdir}/*.so"