aboutsummaryrefslogtreecommitdiff
path: root/src/os.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-02-17 15:23:59 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-02-17 15:23:59 -0500
commit2f9c5c0644dd516ec0d96f33333a35e6b4deea91 (patch)
tree852e7d7273da760a3a36ea551343f5e01bfe8f5a /src/os.cpp
parentc784c52819e505620fb1fcb48e59a48c6d8f487e (diff)
downloadzig-2f9c5c0644dd516ec0d96f33333a35e6b4deea91.tar.gz
zig-2f9c5c0644dd516ec0d96f33333a35e6b4deea91.zip
self-host dynamic linker detection
Diffstat (limited to 'src/os.cpp')
-rw-r--r--src/os.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/os.cpp b/src/os.cpp
index 5e2c986e43..268e812050 100644
--- a/src/os.cpp
+++ b/src/os.cpp
@@ -2129,21 +2129,3 @@ void os_file_close(OsFile *file) {
*file = -1;
#endif
}
-
-#ifdef ZIG_OS_LINUX
-const char *possible_ld_names[] = {
-#if defined(ZIG_ARCH_X86_64)
- "ld-linux-x86-64.so.2",
- "ld-musl-x86_64.so.1",
-#elif defined(ZIG_ARCH_ARM64)
- "ld-linux-aarch64.so.1",
- "ld-musl-aarch64.so.1",
-#elif defined(ZIG_ARCH_ARM)
- "ld-linux-armhf.so.3",
- "ld-musl-armhf.so.1",
- "ld-linux.so.3",
- "ld-musl-arm.so.1",
-#endif
- NULL,
-};
-#endif