Skip to content

Commit

Permalink
Bug 1861291 - Fix Python fail on test_recursivemake.py . CLOSED TREE
Browse files Browse the repository at this point in the history
  • Loading branch information
nbeleuzu committed Oct 27, 2023
1 parent 6cf4960 commit f410b33
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion python/mozbuild/mozbuild/backend/recursivemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,16 @@ def pretty_relpath(lib, name):
backend_file.write("%s: %s\n" % (obj_target, objs_ref))

elif (
not isinstance(obj, (HostLibrary, StaticLibrary, SandboxedWasmLibrary))
not isinstance(
obj,
(
HostLibrary,
HostRustProgram,
RustProgram,
StaticLibrary,
SandboxedWasmLibrary,
),
)
or isinstance(obj, (StaticLibrary, SandboxedWasmLibrary))
and obj.no_expand_lib
):
Expand Down

0 comments on commit f410b33

Please sign in to comment.