nghttp2 icon indicating copy to clipboard operation
nghttp2 copied to clipboard

asio: Add support for static build + Windows dynamic MSVC

Open vserdyuk opened this issue 2 years ago • 1 comments

This adds support for:

  • building dynamic nghttp2_asio with MSVC
  • building static nghttp2_asio (checked on macOS and Linux)

It still needs getopt.h. I use a getopt-win32 implementation from vcpkg repo, but it needs a patch.

I've made a demo project which uses vcpkg with my patches for nghttp2_asio, getopt-win32 and vcpkg itself: https://github.com/vserdyuk/nghttp2_asio_test

Hope to get all of this upstreamed so others can get nghttp2_asio via vcpkg easily without patching.

Related issues:

  • https://github.com/nghttp2/nghttp2/issues/933
  • https://github.com/nghttp2/nghttp2/issues/589

vserdyuk avatar Sep 11 '21 13:09 vserdyuk

Please, kindly review this PR. I will try to resolve issues, if any.

vserdyuk avatar Dec 05 '22 10:12 vserdyuk

Closed since asio library has been removed.

tatsuhiro-t avatar Mar 23 '24 07:03 tatsuhiro-t