janestreet/async_ssl — pull request #1 by avsm (2014-05-27 21:58:10+00:00)
Title: Stub generation to fix transitive linking

The libffi-based Async_SSL bindings exhibit linking failures in Conduit/Cohttp due to an ocamlfind ordering bug. This changeset (via @yallop) switches the bindings to use the new C stub generation mode present in Ctypes 0.3 and higher.

The build uses Make since it's an awful lot easier to get working than ocamlbuild for the staging required for C bindings. The result finally allows Cohttp+Async+SSL secure http requests to work, fixing mirage/ocaml-cohttp#130