Skip to content

Commit f54577e

Browse files
author
James R. Barlow
committed
Fix #786 - 3.05 linkage fails on macOS Sierra with --enable-opencl
Also needed for 4.00.
1 parent 31cb732 commit f54577e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ endif
4646
libtesseract_api_la_SOURCES = baseapi.cpp capi.cpp renderer.cpp pdfrenderer.cpp
4747

4848
lib_LTLIBRARIES += libtesseract.la
49-
libtesseract_la_LDFLAGS = $(LEPTONICA_LIBS)
49+
libtesseract_la_LDFLAGS = $(LEPTONICA_LIBS) $(OPENCL_LDFLAGS)
5050
libtesseract_la_SOURCES =
5151
# Dummy C++ source to cause C++ linking.
5252
# see http://www.gnu.org/s/hello/manual/automake/Libtool-Convenience-Libraries.html#Libtool-Convenience-Libraries

0 commit comments

Comments
 (0)