mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 07:29:07 +08:00
Merge pull request #1584 from RNCTX/master
Fix for too many leading slashes before TESSDATA folder
This commit is contained in:
commit
a9c123342b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user