summaryrefslogtreecommitdiff
path: root/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch')
-rw-r--r--recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch b/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch
new file mode 100644
index 0000000000..1177dfeac9
--- /dev/null
+++ b/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch
@@ -0,0 +1,11 @@
+--- /tmp/acinclude.m4 2009-04-12 10:32:15.000000000 +0200
++++ openobex-1.5/acinclude.m4 2009-04-12 10:32:38.000000000 +0200
+@@ -158,7 +158,7 @@
+ ;;
+ *)
+ PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
+- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
++ REQUIRES="libusb"
+ ;;
+ esac
+ AC_SUBST(USB_CFLAGS)