When finding LIBFTDI, don't clobber LIBS but extend it

This commit is contained in:
Joerg Wunsch 2022-01-05 17:26:39 +01:00
parent dc1fed40bf
commit 1529277477
1 changed files with 1 additions and 1 deletions

View File

@ -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