Skip to content

Commit 31cb732

Browse files
committed
opencl: Add missing TIFF library for macOS
The OpenCL code of Tesseract uses TIFF functions, but the TIFF library was not added to the linker flags for macOS. This fixes builds with OpenCL on Mac. Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent cf0b378 commit 31cb732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ case "${host_os}" in
226226
fi
227227
AM_CPPFLAGS="-DUSE_OPENCL $AM_CPPFLAGS"
228228
OPENCL_CPPFLAGS=""
229-
OPENCL_LDFLAGS="-framework OpenCL"
229+
OPENCL_LDFLAGS="-framework OpenCL -ltiff"
230230
fi
231231
;;
232232
*)

0 commit comments

Comments
 (0)