mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
link/elf: do not set soname unless only dynlib (reverts for haiku exec)
This commit is contained in:
parent
84a0110464
commit
bc0e2089bc
@ -1461,7 +1461,7 @@ fn dumpArgv(self: *Elf, comp: *Compilation) !void {
|
||||
}
|
||||
}
|
||||
|
||||
if (self.isEffectivelyDynLib()) {
|
||||
if (self.base.isDynLib()) {
|
||||
if (self.soname) |name| {
|
||||
try argv.append("-soname");
|
||||
try argv.append(name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user