From 4236fa603faaa5882eb82ffebcd83c4bdd704961 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 7 Mar 2015 15:55:47 +0900 Subject: [PATCH] Document asio linking --- doc/sources/libnghttp2_asio.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/sources/libnghttp2_asio.rst b/doc/sources/libnghttp2_asio.rst index 36f23bc4..85d2e01e 100644 --- a/doc/sources/libnghttp2_asio.rst +++ b/doc/sources/libnghttp2_asio.rst @@ -22,6 +22,16 @@ We have 3 header files for this library: asio_http2.h is included from the other two files. +To build a program with libnghttp2_asio, link to the following +libraries:: + + -lnghttp2_asio -lboost_system + +If ``boost::asio::ssl`` is used in application code, OpenSSL is also +required in link line:: + + -lnghttp2_asio -lboost_system -lssl -lcrypto + Server API ----------