kiss: fix matching of fixdeps commands

This commit is contained in:
Dylan Araps 2020-09-26 00:38:24 +03:00
parent aa4e4ebcd9
commit e94fcab1dc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -462,12 +462,12 @@ pkg_fixdeps() {
# Check if ldd result is direct dependency of package.
case ${elf_cmd##*/} in
readelf)
*readelf)
"$elf_cmd" -d "$file" |
grep -q "NEEDED.* \[${dep##*/}\]"
;;
objdump)
*objdump)
"$elf_cmd" -p "$file" |
grep -q "NEEDED.* ${dep##*/}\$"
;;