summaryrefslogtreecommitdiff
path: root/packages/libusb/libusb1_0.9.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libusb/libusb1_0.9.0.bb')
-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.*"