Skip to content

Commit

Permalink
opencl: Add missing TIFF library for macOS
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stweil committed Apr 9, 2017
1 parent cf0b378 commit 31cb732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ case "${host_os}" in
fi
AM_CPPFLAGS="-DUSE_OPENCL $AM_CPPFLAGS"
OPENCL_CPPFLAGS=""
OPENCL_LDFLAGS="-framework OpenCL"
OPENCL_LDFLAGS="-framework OpenCL -ltiff"
fi
;;
*)
Expand Down

0 comments on commit 31cb732

Please sign in to comment.