switch to static linking on windows and update installation page

fixes #1121

crypt32, gdi32, user32, and ws2_32 are required to make it statically link successfully, but are not required for dynamic linking.

At the moment this results in a wheel that is ~978k for 64-bit windows (as opposed to 248kb for our previous release). Not a big deal.
Hmm. There's not a sane way to support both, is there?


On Mon, Jun 30, 2014 at 2:30 PM, Paul Kehrer <notifications@github.com>
wrote:

> In cryptography/hazmat/bindings/openssl/binding.py:
>
> > @@ -98,6 +98,10 @@ def _ensure_ffi_initialized(cls):
> >              libraries = ["crypto", "ssl"]
> >          else:  # pragma: no cover
> >              libraries = ["libeay32", "ssleay32", "advapi32"]
> > +            libraries = [
> > +                "libeay32mt", "ssleay32mt", "advapi32",
> > +                "crypt32", "gdi32", "user32", "ws2_32"
> > +            ]
>
> It does. They'll have to change the libraries back to libraries =
> ["libeay32", "ssleay32", "advapi32"] to do a dynamic link.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pyca/cryptography/pull/1206/files#r14376989>.
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084