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
|
||||||
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 = {
|
nvtt = {
|
||||||
compile_settings = function()
|
compile_settings = function()
|
||||||
if not _OPTIONS["with-system-nvtt"] then
|
if not _OPTIONS["with-system-nvtt"] then
|
||||||
|
|
|
||||||
|
|
@ -731,6 +731,7 @@ function setup_all_libs ()
|
||||||
"cpp_httplib",
|
"cpp_httplib",
|
||||||
"spidermonkey",
|
"spidermonkey",
|
||||||
"enet",
|
"enet",
|
||||||
|
"ngtcp2",
|
||||||
"sdl",
|
"sdl",
|
||||||
"boost", -- dragged in via server->simulation.h->random and NetSession.h->lockfree
|
"boost", -- dragged in via server->simulation.h->random and NetSession.h->lockfree
|
||||||
"fmt",
|
"fmt",
|
||||||
|
|
@ -802,6 +803,7 @@ function setup_all_libs ()
|
||||||
"spidermonkey",
|
"spidermonkey",
|
||||||
"boost",
|
"boost",
|
||||||
"enet",
|
"enet",
|
||||||
|
"ngtcp2",
|
||||||
"gloox",
|
"gloox",
|
||||||
"icu",
|
"icu",
|
||||||
"iconv",
|
"iconv",
|
||||||
|
|
@ -883,6 +885,7 @@ function setup_all_libs ()
|
||||||
"zlib",
|
"zlib",
|
||||||
"boost",
|
"boost",
|
||||||
"enet",
|
"enet",
|
||||||
|
"ngtcp2",
|
||||||
"libcurl",
|
"libcurl",
|
||||||
"tinygettext",
|
"tinygettext",
|
||||||
"icu",
|
"icu",
|
||||||
|
|
@ -970,6 +973,7 @@ function setup_all_libs ()
|
||||||
"sdl", -- key definitions
|
"sdl", -- key definitions
|
||||||
"boost",
|
"boost",
|
||||||
"enet",
|
"enet",
|
||||||
|
"ngtcp2",
|
||||||
"tinygettext",
|
"tinygettext",
|
||||||
"icu",
|
"icu",
|
||||||
"iconv",
|
"iconv",
|
||||||
|
|
@ -1105,6 +1109,7 @@ used_extern_libs = {
|
||||||
"cxxtest",
|
"cxxtest",
|
||||||
"comsuppw",
|
"comsuppw",
|
||||||
"enet",
|
"enet",
|
||||||
|
"ngtcp2",
|
||||||
"libcurl",
|
"libcurl",
|
||||||
"tinygettext",
|
"tinygettext",
|
||||||
"icu",
|
"icu",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue