summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmx.de>2012-01-08 18:04:08 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-10 17:28:43 (GMT)
commit42d1090cb27c10010e0b3fb1935fb104c11533c3 (patch)
tree51d5a0b2f0a7406e35f9c04c04b153e4e0c4dff5
parentf558210c8fd7ea135c5db92f7c12cc4c0e6130ed (diff)
downloadpoky-42d1090cb27c10010e0b3fb1935fb104c11533c3.tar.gz
libusb1: keep *.la in base_libdir
This fixes the following error found during build from scratch for meta-oe / obexd: | arm-angstrom-linux-gnueabi-libtool: link: cannot find the library | `/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/lib/libusb-1.0.la' or | unhandled argument `=/lib/libusb-1.0.la' build-tested from scratch in angstrom environment. (From OE-Core rev: ea81932400c85976ebb47b930b64990660b210f7) Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.8.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb
index 5a921e0..8873de7 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.8.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb
@@ -6,7 +6,7 @@ SECTION = "libs"
6LICENSE = "LGPLv2.1+" 6LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" 7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
8 8
9PR = "r1" 9PR = "r2"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" 11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
12 12
@@ -20,7 +20,6 @@ EXTRA_OECONF = "--libdir=${base_libdir}"
20 20
21do_install_append() { 21do_install_append() {
22 install -d ${D}${libdir} 22 install -d ${D}${libdir}
23 mv ${D}${base_libdir}/*.la ${D}${libdir}
24 mv ${D}${base_libdir}/pkgconfig ${D}${libdir} 23 mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
25} 24}
26 25