WinXP-x64: find right D2XX libraries
This trivial patch allows the config script to find the correct FTDI2xx libraries under Windows XP x64 using msys. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
parent
de735d375b
commit
26849ad60d
|
@ -736,12 +736,12 @@ if test $build_ft2232_ftd2xx = yes -o $build_presto_ftd2xx = yes ; then
|
||||||
|
|
||||||
# And calculate the LDFLAGS for the machine
|
# And calculate the LDFLAGS for the machine
|
||||||
case "$host_cpu" in
|
case "$host_cpu" in
|
||||||
i?86|x86_*)
|
i?86|x86_32)
|
||||||
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/i386"
|
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/i386"
|
||||||
LIBS="$LIBS -lftd2xx"
|
LIBS="$LIBS -lftd2xx"
|
||||||
f=$with_ftd2xx_win32_zipdir/i386/ftd2xx.lib
|
f=$with_ftd2xx_win32_zipdir/i386/ftd2xx.lib
|
||||||
;;
|
;;
|
||||||
amd64)
|
amd64|x86_64)
|
||||||
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/amd64"
|
LDFLAGS="$LDFLAGS -L$with_ftd2xx_win32_zipdir/amd64"
|
||||||
LIBS="$LIBS -lftd2xx"
|
LIBS="$LIBS -lftd2xx"
|
||||||
f=$with_ftd2xx_win32_zipdir/amd64/ftd2xx.lib
|
f=$with_ftd2xx_win32_zipdir/amd64/ftd2xx.lib
|
||||||
|
|
Loading…
Reference in New Issue