mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Get the right compiler DLL files for the Windows installer
libstdc++-6.dll and libgcc_s_seh-1.dll must be taken from the compiler directory, not from the pacman DLLs. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
4bd94c6147
commit
d2f311bf7c
@ -103,6 +103,8 @@ source venv/bin/activate
|
||||
pip install pefile
|
||||
mkdir -p dll
|
||||
ln -sv $("$ROOTDIR/nsis/find_deps.py" "$MINGW_INSTALL"/bin/*.exe "$MINGW_INSTALL"/bin/*.dll) dll/
|
||||
ln -svf /usr/lib/gcc/x86_64-w64-mingw32/*-win32/libstdc++-6.dll dll/
|
||||
ln -svf /usr/lib/gcc/x86_64-w64-mingw32/*-win32/libgcc_s_seh-1.dll dll/
|
||||
make winsetup prefix="$MINGW_INSTALL"
|
||||
|
||||
# Copy result for upload.
|
||||
|
Loading…
Reference in New Issue
Block a user