diff --git a/scripts/compile_shader.py b/scripts/compile_shader.py index 15fba96..a4a3363 100644 --- a/scripts/compile_shader.py +++ b/scripts/compile_shader.py @@ -130,7 +130,7 @@ def main(): print(f"fixup depfile {depfile_path}") with open(depfile_path, "r") as f: depfile = f.read() - depfile = re.sub("^(.*):(?!\\\\)", args.implementation_path.name + ":", depfile) + depfile = re.sub("^(.*):(?![\\\\/])", args.implementation_path.name + ":", depfile) with open(depfile_path, "w") as f: f.write(depfile)