diff options
Diffstat (limited to 'meta/packages/bluez/files/no-user-include.patch')
| -rw-r--r-- | meta/packages/bluez/files/no-user-include.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/bluez/files/no-user-include.patch b/meta/packages/bluez/files/no-user-include.patch new file mode 100644 index 0000000000..8c1b1b6d6d --- /dev/null +++ b/meta/packages/bluez/files/no-user-include.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Do not add -I/usr/include to the compile line just because we will | ||
| 2 | install bluez-utils there says zecke... | ||
| 3 | |||
| 4 | Index: bluez-utils-2.25/acinclude.m4 | ||
| 5 | =================================================================== | ||
| 6 | --- bluez-utils-2.25.orig/acinclude.m4 2006-05-18 12:39:57.473577920 +0200 | ||
| 7 | +++ bluez-utils-2.25/acinclude.m4 2006-05-19 00:58:52.694599848 +0200 | ||
| 8 | @@ -69,7 +69,9 @@ | ||
| 9 | ac_save_LDFLAGS=$LDFLAGS | ||
| 10 | |||
| 11 | BLUEZ_CFLAGS="" | ||
| 12 | - test -d "${bluez_prefix}/include" && BLUEZ_CFLAGS="$BLUEZ_CFLAGS -I${bluez_prefix}/include" | ||
| 13 | + if test "$cross_compiling" = no; then | ||
| 14 | + test -d "${bluez_prefix}/include" && BLUEZ_CFLAGS="$BLUEZ_CFLAGS -I${bluez_prefix}/include" | ||
| 15 | + fi | ||
| 16 | |||
| 17 | CPPFLAGS="$CPPFLAGS $BLUEZ_CFLAGS" | ||
| 18 | AC_CHECK_HEADER(bluetooth/bluetooth.h, dummy=yes, AC_MSG_ERROR(Bluetooth header files not found)) | ||
