diff --git a/src/ccutil/Makefile.am b/src/ccutil/Makefile.am index 2ab3248b6..073132b5c 100644 --- a/src/ccutil/Makefile.am +++ b/src/ccutil/Makefile.am @@ -3,7 +3,7 @@ AM_CXXFLAGS = AM_CPPFLAGS = if !NO_TESSDATA_PREFIX -AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/ +AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@ endif if VISIBILITY diff --git a/src/lstm/Makefile.am b/src/lstm/Makefile.am index e11981477..4e64a53ed 100644 --- a/src/lstm/Makefile.am +++ b/src/lstm/Makefile.am @@ -12,7 +12,7 @@ SUBDIRS = AM_CXXFLAGS = $(OPENMP_CXXFLAGS) if !NO_TESSDATA_PREFIX -AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/ +AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@ endif if VISIBILITY