mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
CLI: dylibs provided by path act as inferred root module
This commit is contained in:
parent
e2a71b37d8
commit
65d42086ff
1 changed files with 2 additions and 4 deletions
|
|
@ -2764,10 +2764,8 @@ fn buildOutputType(
|
|||
break :b create_module.c_source_files.items[0].src_path;
|
||||
|
||||
for (create_module.cli_link_inputs.items) |unresolved_link_input| switch (unresolved_link_input) {
|
||||
.path_query => |pq| switch (Compilation.classifyFileExt(pq.path.sub_path)) {
|
||||
.object, .static_library, .res => break :b pq.path.sub_path,
|
||||
else => continue,
|
||||
},
|
||||
// Intentionally includes dynamic libraries provided by file path.
|
||||
.path_query => |pq| break :b pq.path.sub_path,
|
||||
else => continue,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue