Last active
November 20, 2021 18:52
-
-
Save DavidPu/9a0cf17f3dc1544f11172a1fb11609d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz | |
| tar pxf openssl-1.1.1l.tar.gz | |
| cd openssl-1.1.1l | |
| sudo aptitude install gcc-mingw-w64 gcc-mingw-w64-i686 | |
| sudo ln -s /usr/bin/x86_64-w64-mingw32-windres /usr/bin/windres | |
| ./Configure --prefix=$PWD/dist no-idea no-mdc2 no-rc5 shared mingw | |
| sed -i 's|RCFLAGS=.*|RCFLAGS= --target=pe-i386 -I/usr/i686-w64-mingw32/include -D_WIN32|g' Makefile | |
| make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment