mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-21 08:43:03 +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 =
|
AM_CPPFLAGS =
|
||||||
|
|
||||||
if !NO_TESSDATA_PREFIX
|
if !NO_TESSDATA_PREFIX
|
||||||
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/
|
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if VISIBILITY
|
if VISIBILITY
|
||||||
|
@ -12,7 +12,7 @@ SUBDIRS =
|
|||||||
AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
|
AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
|
||||||
|
|
||||||
if !NO_TESSDATA_PREFIX
|
if !NO_TESSDATA_PREFIX
|
||||||
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/
|
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if VISIBILITY
|
if VISIBILITY
|
||||||
|
Loading…
Reference in New Issue
Block a user