aedi: do not store build config in vpx library

it contains intermediary path, and despite being unused by the current gzdoom/raze codebase, it's better to clear build config for future versions

[skip build]
[skip test]
This commit is contained in:
alexey.lysiuk 2022-08-31 16:00:08 +03:00
parent fa6f1770aa
commit c4a9862414

View file

@ -547,6 +547,12 @@ class VpxTarget(ConfigureMakeDependencyTarget):
super().configure(state)
def clean_build_config(line: str):
cfg_prefix = 'static const char* const cfg = '
return f'{cfg_prefix}"";\n' if line.startswith(cfg_prefix) else line
self.update_text_file(state.build_path / 'vpx_config.c', clean_build_config)
class ZlibNgTarget(CMakeStaticDependencyTarget):
def __init__(self, name='zlib-ng'):