Skip to content

Commit

Permalink
Typo in compilation docs (#1588)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
asher-gh committed Jan 15, 2024
1 parent bce63b8 commit c550726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/COMPILATION.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion linux/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c550726

Please sign in to comment.