hooks/strip-and-debug-pkgs: make regexp a bit more generic to match more cases.
ld-linux sonames from glibc, were not matched resulting in incomplete shlib-provides. The regexp now allows sonames without the "lib" prefix.
This commit is contained in:
parent
289bc58776
commit
21a1d23fe5
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ hook() {
|
||||||
fi
|
fi
|
||||||
echo " Stripped library: ${f#$PKGDESTDIR}"
|
echo " Stripped library: ${f#$PKGDESTDIR}"
|
||||||
_soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}')
|
_soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}')
|
||||||
pattern="^lib[[:alnum:]_-]+(.*)+\.so(\.[0-9]+)*$"
|
pattern="^[[:alnum:]]+(.*)+\.so(\.[0-9]+)*$"
|
||||||
if [[ ${_soname} =~ $pattern ]]; then
|
if [[ ${_soname} =~ $pattern ]]; then
|
||||||
if [ ! -e ${PKGDESTDIR}/usr/lib/${fname} ]; then
|
if [ ! -e ${PKGDESTDIR}/usr/lib/${fname} ]; then
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue