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:
Stefan Weil 2024-11-04 19:04:31 +01:00
parent eed339b3ba
commit 914a9589aa

View File

@ -99,7 +99,7 @@ export PKG_CONFIG_PATH
make all training
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
source venv/bin/activate
pip install pefile