Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: add defines to nghttp3/ngtcp2 gyp configs #33942

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 29 additions & 24 deletions deps/nghttp3/nghttp3.gyp
Expand Up @@ -26,36 +26,41 @@
},
},
}],
['OS=="linux"', {
'defines': [
'HAVE_ARPA_INET_H',
],
}],
],
'direct_dependent_settings': {
'defines': [ 'NGHTTP3_STATICLIB' ],
'include_dirs': [ 'lib/includes' ]
},
'sources': [
'lib/nghttp3_buf.c',
'lib/nghttp3_conv.c',
'lib/nghttp3_err.c',
'lib/nghttp3_gaptr.c',
'lib/nghttp3_idtr.c',
'lib/nghttp3_map.c',
'lib/nghttp3_pq.c',
'lib/nghttp3_qpack_huffman.c',
'lib/nghttp3_range.c',
'lib/nghttp3_ringbuf.c',
'lib/nghttp3_stream.c',
'lib/nghttp3_vec.c',
'lib/nghttp3_conn.c',
'lib/nghttp3_debug.c',
'lib/nghttp3_frame.c',
'lib/nghttp3_http.c',
'lib/nghttp3_ksl.c',
'lib/nghttp3_mem.c',
'lib/nghttp3_qpack.c',
'lib/nghttp3_qpack_huffman_data.c',
'lib/nghttp3_rcbuf.c',
'lib/nghttp3_str.c',
'lib/nghttp3_tnode.c',
'lib/nghttp3_version.c'
'lib/nghttp3_buf.c',
'lib/nghttp3_conv.c',
'lib/nghttp3_err.c',
'lib/nghttp3_gaptr.c',
'lib/nghttp3_idtr.c',
'lib/nghttp3_map.c',
'lib/nghttp3_pq.c',
'lib/nghttp3_qpack_huffman.c',
'lib/nghttp3_range.c',
'lib/nghttp3_ringbuf.c',
'lib/nghttp3_stream.c',
'lib/nghttp3_vec.c',
'lib/nghttp3_conn.c',
'lib/nghttp3_debug.c',
'lib/nghttp3_frame.c',
'lib/nghttp3_http.c',
'lib/nghttp3_ksl.c',
'lib/nghttp3_mem.c',
'lib/nghttp3_qpack.c',
'lib/nghttp3_qpack_huffman_data.c',
'lib/nghttp3_rcbuf.c',
'lib/nghttp3_str.c',
'lib/nghttp3_tnode.c',
'lib/nghttp3_version.c'
]
}
]
Expand Down
6 changes: 6 additions & 0 deletions deps/ngtcp2/ngtcp2.gyp
Expand Up @@ -33,6 +33,12 @@
},
},
}],
['OS=="linux"', {
'defines': [
'HAVE_ARPA_INET_H',
'HAVE_NETINET_IN_H',
],
}],
],
'direct_dependent_settings': {
'defines': [ 'NGTCP2_STATICLIB' ],
Expand Down