diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-05 12:37:20 +0000 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-05 12:46:32 +0000 |
commit | 085f6452ada329640d662735877c2df46ff819e5 (patch) | |
tree | f19b452f0b33baef1ad21135c7b261e17486069a /common/hooks/pre-pkg | |
parent | fe7289d7afb50757f9f23ab3a62f16154d563b62 (diff) | |
download | void-packages-085f6452ada329640d662735877c2df46ff819e5.tar void-packages-085f6452ada329640d662735877c2df46ff819e5.tar.gz void-packages-085f6452ada329640d662735877c2df46ff819e5.tar.bz2 void-packages-085f6452ada329640d662735877c2df46ff819e5.tar.lz void-packages-085f6452ada329640d662735877c2df46ff819e5.tar.xz void-packages-085f6452ada329640d662735877c2df46ff819e5.tar.zst void-packages-085f6452ada329640d662735877c2df46ff819e5.zip |
pre-pkg/06-shlib-provides.sh: shlib-provide all versioned libraries
Previously we provided all libraries in /usr/lib{,32}.
Now we provide all libraries with a versioned SONAME anywhere.
Diffstat (limited to 'common/hooks/pre-pkg')
-rw-r--r-- | common/hooks/pre-pkg/06-shlib-provides.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh index 99ec8653c89..401bc7ab8ab 100644 --- a/common/hooks/pre-pkg/06-shlib-provides.sh +++ b/common/hooks/pre-pkg/06-shlib-provides.sh @@ -3,7 +3,7 @@ collect_sonames() { local _destdir="$1" f _soname _fname _pattern - local _pattern="^[[:alnum:]]+(.*)+\.so(\.[0-9]+)*$" + local _pattern="^[[:alnum:]]+(.*)+\.so(\.[0-9]+)+$" local _tmpfile="$(mktemp)" if [ ! -d ${_destdir} ]; then @@ -19,10 +19,6 @@ collect_sonames() { # shared library _soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}') if [[ ${_soname} =~ ${_pattern} ]]; then - if [ ! -e ${_destdir}/usr/lib/${_fname} -a \ - ! -e ${_destdir}/usr/lib32/${_fname} ]; then - continue - fi echo "${_soname}" >> ${_tmpfile} echo " SONAME ${_soname} from ${f##${_destdir}}" fi |