mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
Allow use of ngtcp2 via pkconfig
Use gnutls for crypto functions Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
1c2dbf2eb0
commit
61bcc38458
2 changed files with 15 additions and 0 deletions
|
|
@ -572,6 +572,16 @@ extern_lib_defs = {
|
|||
end
|
||||
end,
|
||||
},
|
||||
ngtcp2 = {
|
||||
compile_settings = function()
|
||||
pkgconfig.add_includes("libngtcp2")
|
||||
pkgconfig.add_includes("libngtcp2_crypto_gnutls")
|
||||
end,
|
||||
link_settings = function()
|
||||
pkgconfig.add_links("libngtcp2")
|
||||
pkgconfig.add_links("libngtcp2_crypto_gnutls")
|
||||
end
|
||||
},
|
||||
nvtt = {
|
||||
compile_settings = function()
|
||||
if not _OPTIONS["with-system-nvtt"] then
|
||||
|
|
|
|||
|
|
@ -731,6 +731,7 @@ function setup_all_libs ()
|
|||
"cpp_httplib",
|
||||
"spidermonkey",
|
||||
"enet",
|
||||
"ngtcp2",
|
||||
"sdl",
|
||||
"boost", -- dragged in via server->simulation.h->random and NetSession.h->lockfree
|
||||
"fmt",
|
||||
|
|
@ -802,6 +803,7 @@ function setup_all_libs ()
|
|||
"spidermonkey",
|
||||
"boost",
|
||||
"enet",
|
||||
"ngtcp2",
|
||||
"gloox",
|
||||
"icu",
|
||||
"iconv",
|
||||
|
|
@ -883,6 +885,7 @@ function setup_all_libs ()
|
|||
"zlib",
|
||||
"boost",
|
||||
"enet",
|
||||
"ngtcp2",
|
||||
"libcurl",
|
||||
"tinygettext",
|
||||
"icu",
|
||||
|
|
@ -970,6 +973,7 @@ function setup_all_libs ()
|
|||
"sdl", -- key definitions
|
||||
"boost",
|
||||
"enet",
|
||||
"ngtcp2",
|
||||
"tinygettext",
|
||||
"icu",
|
||||
"iconv",
|
||||
|
|
@ -1105,6 +1109,7 @@ used_extern_libs = {
|
|||
"cxxtest",
|
||||
"comsuppw",
|
||||
"enet",
|
||||
"ngtcp2",
|
||||
"libcurl",
|
||||
"tinygettext",
|
||||
"icu",
|
||||
|
|
|
|||
Loading…
Reference in a new issue