From 31cb732a0fa6a6de8865f0ff1ab46ab9c08cd130 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 9 Apr 2017 12:12:18 +0200 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 490a45de7e..8951b0aaab 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ;; *)