提交 31cb732a 编写于 作者: S Stefan Weil

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: NStefan Weil <sw@weilnetz.de>
上级 cf0b3785
......@@ -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
;;
*)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册