- add -lusb to link for using libftdi under win32
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 1 May 2008 19:31:13 +0000 (19:31 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 1 May 2008 19:31:13 +0000 (19:31 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@635 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/Makefile.am

index aa7b19f..d575fbd 100644 (file)
@@ -32,10 +32,10 @@ MINGWLDADD =
 endif
 
 if FT2232_LIBFTDI
-FTDI2232LIB = -lftdi
+FTDI2232LIB = -lftdi -lusb
 else
 if PRESTO_LIBFTDI
-FTDI2232LIB = -lftdi
+FTDI2232LIB = -lftdi -lusb
 else
 FTDI2232LIB =
 endif