mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Reduce size of Tesseract installer for Windows
Strip all installed executables and libraries. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
eed339b3ba
commit
914a9589aa
@ -99,7 +99,7 @@ export PKG_CONFIG_PATH
|
|||||||
|
|
||||||
make all training
|
make all training
|
||||||
MINGW_INSTALL=${PWD}${MINGW}
|
MINGW_INSTALL=${PWD}${MINGW}
|
||||||
make install-jars install training-install html prefix="$MINGW_INSTALL"
|
make install-jars install training-install html prefix="$MINGW_INSTALL" INSTALL_STRIP_FLAG=-s
|
||||||
test -d venv || python3 -m venv venv
|
test -d venv || python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install pefile
|
pip install pefile
|
||||||
|
Loading…
Reference in New Issue
Block a user