Merge pull request #91870 from scgm0/fix_disabled_classes

SCons: Fix generation of `disabled_classes.gen.h` after #91624
This commit is contained in:
Rémi Verschelde 2024-05-13 12:05:59 +02:00
commit 3585c2e8f9
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -166,7 +166,7 @@ def disabled_class_builder(target, source, env):
for c in source[0].read():
cs = c.strip()
if cs != "":
file.write(f"#define ClassDB_Disable_{cs} 1")
file.write(f"#define ClassDB_Disable_{cs} 1\n")
env.CommandNoCache("disabled_classes.gen.h", env.Value(env.disabled_classes), env.Run(disabled_class_builder))