Credit Andrew - BSD fixes + a little more
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / tiff-4.4.0.patch2
1 --- ./configure.ac.orig 2023-01-30 20:35:40.839847499 +0300
2 +++ ./configure.ac      2023-01-30 20:48:27.751778042 +0300
3 @@ -838,7 +838,8 @@
4  if test "x$enable_webp" != "xno" ; then
5  
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 "
10    fi
11    
12    AC_CHECK_LIB(webp, WebPDecode, [webp_lib=yes], [webp_lib=no],)