aboutsummaryrefslogtreecommitdiffstats
path: root/package/openobex/openobex-libusb_check_when_cross-compiling.patch
blob: 7b8056afccf477e957766b56b0d9181ffed45c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Fix libusb check when cross-compiling.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>

Index: openobex-1.5/acinclude.m4
===================================================================
--- openobex-1.5.orig/acinclude.m4	2010-06-16 10:32:47.000000000 +0200
+++ openobex-1.5/acinclude.m4	2010-06-16 10:35:33.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)