diff options
Diffstat (limited to 'packages/libusb/libusb_0.1.12.bb')
-rw-r--r-- | packages/libusb/libusb_0.1.12.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/libusb/libusb_0.1.12.bb b/packages/libusb/libusb_0.1.12.bb index fea8e57ccf..a2b80ecb6d 100644 --- a/packages/libusb/libusb_0.1.12.bb +++ b/packages/libusb/libusb_0.1.12.bb @@ -22,6 +22,11 @@ do_stage() { # can we get rid of that? wouldn't a sed statement do as well? 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 |