Skip to content

Commit

Permalink
Merge pull request #814 from jbarlow83/3.05-opencl
Browse files Browse the repository at this point in the history
[3.05] Fix #786 OpenCL linkage on macOS
  • Loading branch information
zdenop committed Apr 11, 2017
2 parents 9c1034d + 4c044eb commit b18cad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/Makefile.am
Expand Up @@ -45,7 +45,7 @@ endif
libtesseract_api_la_SOURCES = baseapi.cpp capi.cpp renderer.cpp pdfrenderer.cpp

lib_LTLIBRARIES += libtesseract.la
libtesseract_la_LDFLAGS =
libtesseract_la_LDFLAGS = $(OPENCL_LDFLAGS)
libtesseract_la_SOURCES =
# Dummy C++ source to cause C++ linking.
# see http://www.gnu.org/s/hello/manual/automake/Libtool-Convenience-Libraries.html#Libtool-Convenience-Libraries
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -220,7 +220,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 b18cad4

Please sign in to comment.