mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
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:
parent
fa6f1770aa
commit
c4a9862414
1 changed files with 6 additions and 0 deletions
|
@ -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'):
|
||||
|
|
Loading…
Reference in a new issue