aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorKurt Kartaltepe <kkartaltepe@gmail.com>2021-07-09 20:41:35 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-11-24 17:14:20 -0700
commita950cb42bdf7b3f339071868c6675e7dcc892bae (patch)
treeddf75e85213e2b1ea0d8accb78471b6d25d01b60 /src/link.zig
parentfdcac5ecbd324170f7281f6704ead18b7d904e72 (diff)
downloadzig-a950cb42bdf7b3f339071868c6675e7dcc892bae.tar.gz
zig-a950cb42bdf7b3f339071868c6675e7dcc892bae.zip
Coff linker: Add IMPLIB support
Allow --out-implib and -implib as passed by cmake and meson to be correctly passed through to the linker to generate import libraries.
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig
index 4ad5952767..76f50a78fe 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -127,6 +127,7 @@ pub const Options = struct {
gc_sections: ?bool = null,
allow_shlib_undefined: ?bool,
subsystem: ?std.Target.SubSystem,
+ out_implib: ?[]const u8,
linker_script: ?[]const u8,
version_script: ?[]const u8,
soname: ?[]const u8,