Signed-off-by: Albert Aribaud <albert.arib...@free.fr>
---
 configure.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 8ba8951..0adf014 100644
--- a/configure.in
+++ b/configure.in
@@ -932,6 +932,7 @@ if test $build_ft2232_libftdi = yes ; then
   # We assume: the package is preinstalled in the proper place
   # these present as 2 libraries..
   LIBS="$LIBS -lftdi -lusb"
+  CFLAGS="$CFLAGS -I/usr/include/libftdi"
   #
   # Try to build a small program.
   AC_MSG_CHECKING([Build & Link with libftdi...])
-- 
1.6.4.4

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to