summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-04 16:47:15 +0200
committerErich Eckner <git@eckner.net>2020-06-04 16:47:15 +0200
commitc8f81280db5d7de01f7c26607a071d6632bf8cc5 (patch)
tree9cb372fbfd32cb068550babe2d6f48766facb70d
parent8c2db86a9293bab6b0f842f595161f03c656ac98 (diff)
downloadarchlinuxewe-c8f81280db5d7de01f7c26607a071d6632bf8cc5.tar.xz
pin-dependencies.PKGBUILDpatch: remove versioning info from .so name
-rw-r--r--pin-dependencies.PKGBUILDpatch4
1 files changed, 2 insertions, 2 deletions
diff --git a/pin-dependencies.PKGBUILDpatch b/pin-dependencies.PKGBUILDpatch
index 34521a45b..05472ee0d 100644
--- a/pin-dependencies.PKGBUILDpatch
+++ b/pin-dependencies.PKGBUILDpatch
@@ -4,14 +4,14 @@ if printf '%s\n' "${arch[@]}" | grep -qvxF any; then
{
find "${pkgdir}" -type f -exec objdump -x {} \; 2>/dev/null \
| sed '
- s/^\s*NEEDED\s\+\(\S\+\)\s*$/\1/
+ s/^\s*NEEDED\s\+\(\S\+\.so\)\(\.\S\+\)\?\s*$/\1/
t
d
' \
| sort -u
for _libdir in "${pkgdir}/usr"/lib*; do
[ -d "${_libdir}" ] || continue
- find "${_libdir}" -not -type d -name '*.so*' -printf '%f\n%f\n'
+ find "${_libdir}" -not -type d -name '*.so' -printf '%f\n%f\n'
done
} \
| sort \