diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-01-04 22:30:34 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 22:19:21 +0000 |
commit | 198f2ac06e60245750a2c6561b8c8e2eaa93f6be (patch) | |
tree | 1707699eba041de7ff5ab7a8ac554f40fb4eae2e /meta | |
parent | 05409821ea58915c38a0962fb4dd14f8a49806e6 (diff) | |
download | poky-198f2ac06e60245750a2c6561b8c8e2eaa93f6be.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).
(From OE-Core rev: ed937940f54d1a376b518fc276da78811c4ac50b)
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libusb/libusb-compat_0.1.3.bb | 12 |
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 ef8552bc44..e07046362d 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" | |||
15 | PROVIDES = "libusb" | 15 | PROVIDES = "libusb" |
16 | 16 | ||
17 | PE = "1" | 17 | PE = "1" |
18 | PR = "r0" | 18 | PR = "r1" |
19 | 19 | ||
20 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ | 20 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ |
21 | file://0.1.0-beta1-gcc3.4-fix.patch" | 21 | file://0.1.0-beta1-gcc3.4-fix.patch" |
@@ -24,3 +24,13 @@ SRC_URI[md5sum] = "570ac2ea085b80d1f74ddc7c6a93c0eb" | |||
24 | SRC_URI[sha256sum] = "a590a03b6188030ee1ca1a0af55685fcde005ca807b963970f839be776031d94" | 24 | SRC_URI[sha256sum] = "a590a03b6188030ee1ca1a0af55685fcde005ca807b963970f839be776031d94" |
25 | 25 | ||
26 | inherit autotools pkgconfig binconfig | 26 | inherit autotools pkgconfig binconfig |
27 | |||
28 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
29 | |||
30 | do_install_append() { | ||
31 | install -d ${D}${libdir} | ||
32 | mv ${D}${base_libdir}/*.la ${D}${libdir} | ||
33 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
34 | } | ||
35 | |||
36 | FILES_${PN}-dev += "${base_libdir}/*.so" | ||