https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
13 lines
425 B
Diff
13 lines
425 B
Diff
diff --git a/src/util_exec.cpp b/src/util_exec.cpp
|
|
index 0e8a13c1..0cc99c1e 100644
|
|
--- a/src/util_exec.cpp
|
|
+++ b/src/util_exec.cpp
|
|
@@ -300,7 +300,7 @@ Util::elfType(const char *pathname, bool *isElf, bool *is32bitElf)
|
|
static string
|
|
ld_linux_so_path(int version, bool is32bitElf = false)
|
|
{
|
|
- char buf[80];
|
|
+ char buf[128];
|
|
|
|
#if (defined(__x86_64__) || defined(__aarch64__)) && !defined(CONFIG_M32)
|
|
if (is32bitElf) {
|