mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
openbsd: adjust dynamic linker path (#9010)
the dynamic linker on OpenBSD is at /usr/libexec/ld.so (and not /libexec/ld.so)
This commit is contained in:
parent
6d52daba37
commit
fbd99319d1
@ -1487,7 +1487,7 @@ pub const Target = struct {
|
||||
switch (self.os.tag) {
|
||||
.freebsd => return copy(&result, "/libexec/ld-elf.so.1"),
|
||||
.netbsd => return copy(&result, "/libexec/ld.elf_so"),
|
||||
.openbsd => return copy(&result, "/libexec/ld.so"),
|
||||
.openbsd => return copy(&result, "/usr/libexec/ld.so"),
|
||||
.dragonfly => return copy(&result, "/libexec/ld-elf.so.2"),
|
||||
.linux => switch (self.cpu.arch) {
|
||||
.i386,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user