Openssl - Static libraries (w32, mingw)

Openssl static libraries created for Windows 32bit using MinGW compiler

Compiled with:

    ./Configure no-asm mingw

Zip contains the include folder and libssl.a and libcrypto.a static libraries.


If you are trying to use these to compile Qt for static linking, here are a few tips I learn't:

- Rename the files with a 'lib' extension and put them in Qt lib folder: eg. libssl.lib and libcrypto.lib
- Copy the 'include/openssl' folder to Qt's include folder.

- When configuring Qt:
    - libssl has to come before libcrypto.
    - gdi32 also needs to added.
    - I used the 'openssl-linked' option.

The relevant parts of the Qt configure command should look like this:

    configure -static -openssl-linked OPENSSL_LIBS="-llibssl -llibcrypto -lgdi32"