Typo in compilation docs (#1588)

* Typo in compilation docs

* [Fix] Deprecated leptonica name

With version 1.84.0, the library is changed from `liblept` to
`libleptonica`.
http://www.leptonica.org/source/version-notes.html
This commit is contained in:
Asher
2024-01-15 08:50:36 +00:00
committed by GitHub
parent bce63b88dc
commit c550726778
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ cd ccextractor/linux
./build -without-rust
# compile with debug info
./build -debug # same as ./build_debug
./build -debug # same as ./builddebug
# compile with hardsubx
[Optional] You need to set these environment variables correctly according to your machine,

View File

@@ -85,7 +85,7 @@ SRC_FREETYPE="../src/thirdparty/freetype/autofit/autofit.c
../src/thirdparty/freetype/type42/type42.c
../src/thirdparty/freetype/winfonts/winfnt.c"
BLD_SOURCES="../src/ccextractor.c $SRC_CCX $SRC_GPAC $SRC_ZLIB $SRC_LIBPNG $SRC_HASH $SRC_PROTOBUF $SRC_UTF8PROC $SRC_FREETYPE"
BLD_LINKER="$BLD_LINKER -lm -zmuldefs -l tesseract -l lept -lpthread -ldl -lgpac"
BLD_LINKER="$BLD_LINKER -lm -zmuldefs -l tesseract -l leptonica -lpthread -ldl -lgpac"
echo "Running pre-build script..."
./pre-build.sh