1 --- ./configure.ac.orig 2023-01-30 20:35:40.839847499 +0300
2 +++ ./configure.ac 2023-01-30 20:48:27.751778042 +0300
4 if test "x$enable_webp" != "xno" ; then
6 if test "x$with_webp_lib_dir" != "x" ; then
7 - LDFLAGS="-L$with_webp_lib_dir $LDFLAGS"
8 + LIBS="-lpthread $LIBS"
9 + LDFLAGS="-L$with_webp_lib_dir $LDFLAGS "
12 AC_CHECK_LIB(webp, WebPDecode, [webp_lib=yes], [webp_lib=no],)