diff options
Diffstat (limited to 'meta/packages/libusb')
-rw-r--r-- | meta/packages/libusb/libusb_0.1.10a.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/libusb/libusb_0.1.10a.bb b/meta/packages/libusb/libusb_0.1.10a.bb index 298eb5ee7..3054d9230 100644 --- a/meta/packages/libusb/libusb_0.1.10a.bb +++ b/meta/packages/libusb/libusb_0.1.10a.bb @@ -20,6 +20,11 @@ do_stage() { install -m 755 ${S}/libusb-config ${STAGING_BINDIR} perl -pi -e 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config + if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then + install -d ${STAGING_BINDIR_CROSS}/ + mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config + fi + install -d ${STAGING_INCDIR}/ for X in usb.h do |