Patchwork [CONSOLIDATED,PULL,05/22] libusb1: keep *.la in base_libdir

login
register
mail settings
Submitter Saul Wold
Date Jan. 10, 2012, 5:53 a.m.
Message ID <ea81932400c85976ebb47b930b64990660b210f7.1326174744.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/18833/
State New
Headers show

Comments

Saul Wold - Jan. 10, 2012, 5:53 a.m.
From: Andreas Müller <schnitzeltony@gmx.de>

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.

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
---
 meta/recipes-support/libusb/libusb1_1.0.8.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch

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"
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
 
@@ -20,7 +20,6 @@  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}
 }