summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-21 23:25:55 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-21 23:25:55 +0000
commitccbb1d82c6328d73e410fc8133f494077a5c58dc (patch)
tree8c4bbe935718cf18d6b0eef52c3fc95618d8d051
parenta3bb9f21c1feabe7471a0057d966cce4fd9bae5f (diff)
libusb1: fix libtool usage
-rw-r--r--packages/libusb/libusb1_0.9.0.bb11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/libusb/libusb1_0.9.0.bb b/packages/libusb/libusb1_0.9.0.bb
index d509919ad4..784d9b523b 100644
--- a/packages/libusb/libusb1_0.9.0.bb
+++ b/packages/libusb/libusb1_0.9.0.bb
@@ -4,9 +4,9 @@ HOMEPAGE = "http://libusb.sf.net"
SECTION = "libs"
LICENSE = "LGPL"
-SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
- "
-
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
+"
S = "${WORKDIR}/libusb-${PV}"
inherit autotools pkgconfig binconfig lib_package
@@ -16,11 +16,12 @@ EXTRA_OECONF = "--disable-build-docs"
export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
-do_stage() {
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+do_stage() {
autotools_stage_all
}
PACKAGES =+ "libusbpp"
-
FILES_libusbpp = "${libdir}/libusbpp*.so.*"