Bug 1861291 - Fix Python fail on test_recursivemake.py . CLOSED TREE

This commit is contained in:
Narcis Beleuzu 2023-10-27 04:06:14 +03:00
Родитель 6cf496014d
Коммит f410b33677
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -1460,7 +1460,16 @@ class RecursiveMakeBackend(MakeBackend):
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
):