Fix ninja pathing

This commit is contained in:
2026-07-31 20:20:06 -05:00
committed by Timothy O'Barr
parent ffc89ca6d5
commit a6cfff7acc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ def build_stuff(
build(entry.object_path, entry.src_paths, "as")
elif isinstance(seg, splat.segtypes.common.c.CommonSegC):
entry.src_paths = [Path("../..") / Path(f"{src_path}") for src_path in entry.src_paths]
entry.src_paths = [Path("..") / Path(f"{src_path}") for src_path in entry.src_paths]
if any(str(src_path).startswith("src/lib/") for src_path in entry.src_paths):
build(entry.object_path, entry.src_paths, "libcc")