summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/openobex/files/libusb_crosscompile_check.patch')
-rw-r--r--meta/recipes-support/openobex/files/libusb_crosscompile_check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch
new file mode 100644
index 0000000000..20ac70bd1e
--- /dev/null
+++ b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch
@@ -0,0 +1,13 @@
1Index: openobex-1.5/acinclude.m4
2===================================================================
3--- openobex-1.5.orig/acinclude.m4 2009-02-08 18:30:22.000000000 +0000
4+++ openobex-1.5/acinclude.m4 2009-07-31 09:55:46.000000000 +0100
5@@ -158,7 +158,7 @@
6 ;;
7 *)
8 PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
9- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
10+ REQUIRES="libusb"
11 ;;
12 esac
13 AC_SUBST(USB_CFLAGS)