Hi All,

This trivial patch allows the config script to find the correct FTDI2xx
libraries under Windows XP x64 using msys, this is the only way I'm building
OpenOCD at the moment so have no other platform to test against so it might
break something else.

This is my first released patch BTW...

Cheers,

--
Liam Redmond.
Rock Software
http://www.rock-software.com

diff --git a/configure.in b/configure.in
index d7f8d47..fa2a498 100644
--- a/configure.in
+++ b/configure.in
@@ -736,12 +736,12 @@ if test $build_ft2232_ftd2xx = yes -o 
$build_presto_ftd2xx = yes ; then

    # And calculate the LDFLAGS for the machine
    case "$host_cpu" in
-    i?86|x86_*)
+    i?86|x86_32)
      LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/i386"
      LIBS="$LIBS -lftd2xx"
      f=$with_ftd2xx_win32_zipdir/i386/ftd2xx.lib
      ;;
-    amd64)
+    amd64|x86_64)
      LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/amd64"
      LIBS="$LIBS -lftd2xx"
      f=$with_ftd2xx_win32_zipdir/amd64/ftd2xx.lib
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to