[scons] include mod_h2 in static builds (fixes #3224)

patch needed since lighttpd 1.4.71, where mod_h2 is a standalone module
by default, rather than previous of lighttpd having h2.c built-in to the
lighttpd base executable.

x-ref:
  "mod_h2 is missing in scons fullstatic build"
  https://redmine.lighttpd.net/issues/3224
This commit is contained in:
Glenn Strauss 2023-09-20 21:27:36 -04:00
parent 9ea82d4184
commit d59bee7bda
1 changed files with 0 additions and 2 deletions

View File

@ -187,8 +187,6 @@ staticsrc += builtin_mods
for module in builtin_mods:
staticinit += "PLUGIN_INIT(%s)\n"%module[0:-2]
for module in modules.keys():
if module == "mod_h2":
continue
staticsrc += modules[module]['src']
staticinit += "PLUGIN_INIT(%s)\n"%module
if 'lib' in modules[module]: