Fix configuration of webp libraries

* configure.ac: Link with libwebpdecoder along with
libwebpdemux.  (bug#61988)
This commit is contained in:
Po Lu 2023-03-06 21:42:29 +08:00
parent 1c67e4f895
commit de4277af00

View file

@ -2803,7 +2803,8 @@ if test "${with_webp}" != "no"; then
|| test "${HAVE_W32}" = "yes" || test "${HAVE_NS}" = "yes" \
|| test "${HAVE_BE_APP}" = "yes" || test "${HAVE_PGTK}" = "yes"; then
WEBP_REQUIRED=0.6.0
WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED"
WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED \
libwebpdecoder >= $WEBP_REQUIRED"
EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])
AC_SUBST([WEBP_CFLAGS])