mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Allow linking with dynamic libraries in main CLI
This commit is contained in:
parent
0b4a5254fa
commit
abd72781a3
@ -929,7 +929,7 @@ fn buildOutputType(
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
.shared_library => {
|
.shared_library => {
|
||||||
fatal("linking against dynamic libraries not yet supported", .{});
|
try link_objects.append(arg);
|
||||||
},
|
},
|
||||||
.zig, .zir => {
|
.zig, .zir => {
|
||||||
if (root_src_file) |other| {
|
if (root_src_file) |other| {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user