mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
kiss: stick to readelf
This commit is contained in:
parent
e94fcab1dc
commit
7cc6f83ba2
8
kiss
8
kiss
@ -466,11 +466,6 @@ pkg_fixdeps() {
|
|||||||
"$elf_cmd" -d "$file" |
|
"$elf_cmd" -d "$file" |
|
||||||
grep -q "NEEDED.* \[${dep##*/}\]"
|
grep -q "NEEDED.* \[${dep##*/}\]"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*objdump)
|
|
||||||
"$elf_cmd" -p "$file" |
|
|
||||||
grep -q "NEEDED.* ${dep##*/}\$"
|
|
||||||
;;
|
|
||||||
esac || continue
|
esac || continue
|
||||||
|
|
||||||
# Figure out which package owns the file.
|
# Figure out which package owns the file.
|
||||||
@ -1528,7 +1523,8 @@ main() {
|
|||||||
# Figure out which utility is available to dump elf information.
|
# Figure out which utility is available to dump elf information.
|
||||||
elf_cmd=${KISS_ELFCMD:="$(
|
elf_cmd=${KISS_ELFCMD:="$(
|
||||||
command -v readelf ||
|
command -v readelf ||
|
||||||
command -v objdump
|
command -v eu-readelf ||
|
||||||
|
command -v llvm-readelf
|
||||||
)"} ||:
|
)"} ||:
|
||||||
|
|
||||||
# Store the date and time of script invocation to be used as the name of
|
# Store the date and time of script invocation to be used as the name of
|
||||||
|
Loading…
Reference in New Issue
Block a user