commit
40e0aeb2e3
|
@ -62,7 +62,7 @@ pack() {
|
||||||
shift
|
shift
|
||||||
|
|
||||||
libs="$(ldd "$src" | grep -F '/' | sed -E 's|[^/]*/([^ ]+).*?|/\1|')"
|
libs="$(ldd "$src" | grep -F '/' | sed -E 's|[^/]*/([^ ]+).*?|/\1|')"
|
||||||
ld_so="$(echo "$libs" | grep -F '/ld-linux-')"
|
ld_so="$(echo "$libs" | grep -F '/ld-linux-' || echo "$libs" | grep -F '/ld-musl-')"
|
||||||
ld_so="$(basename "$ld_so")"
|
ld_so="$(basename "$ld_so")"
|
||||||
program="$(basename "$src")"
|
program="$(basename "$src")"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user