Update README.md

This commit is contained in:
Krasimir Angelov
2021-11-16 21:45:19 +01:00
committed by GitHub
parent c4ff30cc34
commit ed6b0f303e

View File

@@ -36,12 +36,14 @@ pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-libtoo
By default the runtime compiled with MinGW will depend on libgcc_s_seh-1.dll,
libstdc++-6.dll and libwinpthread-1.dll which are non-standard on Windows. Although
the compiler can in principle link those statically, there is a bug in libtool which
prevents us from using that option. The workaround is to hack your installation by doing:
prevents us from using that option. If you want to force static linking, the workaround
is to hack your installation by doing:
```
mv /mingw64/lib/gcc/x86_64-w64-mingw32/10.3.0/libgcc_eh.a /mingw64/lib/gcc/x86_64-w64-mingw32/10.3.0/libgcc_s.a
rm /mingw64/lib/gcc/x86_64-w64-mingw32/10.3.0/libstdc++.dll.a
rm /mingw64/x86_64-w64-mingw32/lib/libpthread.dll.a
```
after the configure step shown bellow.
## Installation