Skip to content

Commit

Permalink
fix configure
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Jan 20, 2024
1 parent ce5b473 commit 01147dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tools/build/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,8 @@ def build(
if isinstance(seg, splat.segtypes.n64.header.N64SegHeader):
build(entry.object_path, entry.src_paths, "as")
elif isinstance(seg, splat.segtypes.common.asm.CommonSegAsm) or (
isinstance(seg, splat.segtypes.common.data.CommonSegData) and not seg.type[0] == "."
isinstance(seg, splat.segtypes.common.data.CommonSegData)
and not seg.type[0] == "."
or isinstance(seg, splat.segtypes.common.textbin.CommonSegTextbin)
):
build(entry.object_path, entry.src_paths, "as")
Expand Down Expand Up @@ -784,9 +785,7 @@ def build(
type="data",
define=True,
)
elif (
isinstance(seg, splat.segtypes.common.bin.CommonSegBin)
):
elif isinstance(seg, splat.segtypes.common.bin.CommonSegBin):
build(entry.object_path, entry.src_paths, "bin")
elif isinstance(seg, splat.segtypes.n64.yay0.N64SegYay0):
compressed_path = entry.object_path.with_suffix("") # remove .o
Expand Down

0 comments on commit 01147dc

Please sign in to comment.