Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

Commit fc05d37

Browse files
committed
http2: update nghttp2 to 1.2http2: update nghttp2 to 1.22.0
1 parent 7e862f3 commit fc05d37

26 files changed

+5319
-5275
lines changed

deps/nghttp2/lib/CMakeLists.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,22 @@ set(NGHTTP2_SOURCES
2323
nghttp2_mem.c
2424
nghttp2_http.c
2525
nghttp2_rcbuf.c
26+
nghttp2_debug.c
2627
)
2728

29+
set(NGHTTP2_RES "")
30+
31+
if(WIN32)
32+
configure_file(
33+
version.rc.in
34+
${CMAKE_CURRENT_BINARY_DIR}/version.rc
35+
@ONLY)
36+
37+
set(NGHTTP2_RES ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
38+
endif()
39+
2840
# Public shared library
29-
add_library(nghttp2 SHARED ${NGHTTP2_SOURCES})
41+
add_library(nghttp2 SHARED ${NGHTTP2_SOURCES} ${NGHTTP2_RES})
3042
set_target_properties(nghttp2 PROPERTIES
3143
COMPILE_FLAGS "${WARNCFLAGS}"
3244
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}

deps/nghttp2/lib/Makefile.am

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2323
SUBDIRS = includes
2424

25-
EXTRA_DIST = Makefile.msvc CMakeLists.txt
25+
EXTRA_DIST = Makefile.msvc CMakeLists.txt version.rc.in
2626

2727
AM_CFLAGS = $(WARNCFLAGS) $(EXTRACFLAG)
2828
AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes -DBUILDING_NGHTTP2 \
@@ -48,7 +48,8 @@ OBJECTS = nghttp2_pq.c nghttp2_map.c nghttp2_queue.c \
4848
nghttp2_callbacks.c \
4949
nghttp2_mem.c \
5050
nghttp2_http.c \
51-
nghttp2_rcbuf.c
51+
nghttp2_rcbuf.c \
52+
nghttp2_debug.c
5253

5354
HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
5455
nghttp2_frame.h \
@@ -63,7 +64,8 @@ HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
6364
nghttp2_callbacks.h \
6465
nghttp2_mem.h \
6566
nghttp2_http.h \
66-
nghttp2_rcbuf.h
67+
nghttp2_rcbuf.h \
68+
nghttp2_debug.h
6769

6870
libnghttp2_la_SOURCES = $(HFILES) $(OBJECTS)
6971
libnghttp2_la_LDFLAGS = -no-undefined \

0 commit comments

Comments
 (0)