When finding LIBFTDI, don't clobber LIBS but extend it
This commit is contained in:
parent
dc1fed40bf
commit
1529277477
|
@ -195,7 +195,7 @@ if test x$have_libftdi1 = xyes; then
|
||||||
LIBFTDI1="-lftdi1"
|
LIBFTDI1="-lftdi1"
|
||||||
AC_DEFINE([HAVE_LIBFTDI1])
|
AC_DEFINE([HAVE_LIBFTDI1])
|
||||||
AC_SUBST(LIBFTDI1, $LIBFTDI1)
|
AC_SUBST(LIBFTDI1, $LIBFTDI1)
|
||||||
LIBS="${LIBFTDI1}"
|
LIBS="${LIBS} ${LIBFTDI1}"
|
||||||
AC_CHECK_FUNCS(ftdi_tcioflush)
|
AC_CHECK_FUNCS(ftdi_tcioflush)
|
||||||
else
|
else
|
||||||
if test x$have_libftdi = xyes; then
|
if test x$have_libftdi = xyes; then
|
||||||
|
|
Loading…
Reference in New Issue