Allow linking with dynamic libraries in main CLI

This commit is contained in:
Jakub Konka 2020-10-16 08:04:00 +02:00 committed by Andrew Kelley
parent 0b4a5254fa
commit abd72781a3

View File

@ -929,7 +929,7 @@ fn buildOutputType(
});
},
.shared_library => {
fatal("linking against dynamic libraries not yet supported", .{});
try link_objects.append(arg);
},
.zig, .zir => {
if (root_src_file) |other| {