diff --git a/api/Makefile.am b/api/Makefile.am index 225e37ddd..76a8ed40a 100644 --- a/api/Makefile.am +++ b/api/Makefile.am @@ -88,7 +88,7 @@ tesseract_LDADD = libtesseract.la tesseract_LDFLAGS = $(OPENCL_LDFLAGS) -tesseract_LDADD += $(OPENMP_CFLAGS) +tesseract_LDADD += $(OPENMP_CXXFLAGS) if T_WIN tesseract_LDADD += -lws2_32