diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-11-19 15:27:17 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-11-27 15:42:39 -0700 |
| commit | 375bab8460517f5d5ee02c161dc65ff1694132d7 (patch) | |
| tree | 02e428a21540cb8184f80271ef21b3c0a08a440c /src/Compilation.zig | |
| parent | 12efefeba5a8128e0a79b4b04fad0d538c382e47 (diff) | |
| download | zig-375bab8460517f5d5ee02c161dc65ff1694132d7.tar.gz zig-375bab8460517f5d5ee02c161dc65ff1694132d7.zip | |
stage2 elf: refactor override_soname to soname
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index b813182e30..a66df1db7b 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -364,7 +364,7 @@ pub const InitOptions = struct { link_emit_relocs: bool = false, linker_script: ?[]const u8 = null, version_script: ?[]const u8 = null, - override_soname: ?[]const u8 = null, + soname: ?[]const u8 = null, linker_gc_sections: ?bool = null, linker_allow_shlib_undefined: ?bool = null, linker_bind_global_refs_locally: ?bool = null, @@ -828,7 +828,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { .emit_relocs = options.link_emit_relocs, .rdynamic = options.rdynamic, .extra_lld_args = options.lld_argv, - .override_soname = options.override_soname, + .soname = options.soname, .version = options.version, .libc_installation = libc_dirs.libc_installation, .pic = pic, |
