From: Michael Tremer Date: Thu, 22 Dec 2011 21:31:08 +0000 (+0100) Subject: Add linker SONAMEs to dependencies as well. X-Git-Tag: 0.9.20~33^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=760886a8cf50776127bc9069e817df11e32282e4;p=pakfire.git Add linker SONAMEs to dependencies as well. --- diff --git a/tools/find-provides b/tools/find-provides index 64603286d..51efa9e65 100755 --- a/tools/find-provides +++ b/tools/find-provides @@ -14,9 +14,6 @@ pkgconfig_files= # Walk through all file files and see what we have got here. while read file; do case "${file}" in - */lib/ld.so) - # Just ignore this file. - ;; */usr/lib*/python*/*.so) # Do not show python shared objects in provides list. ;; diff --git a/tools/functions-files b/tools/functions-files index 593a17772..8f27db60a 100644 --- a/tools/functions-files +++ b/tools/functions-files @@ -105,12 +105,6 @@ function file_get_rpath() { function file_get_soname() { local file=${1} - local file_basename=$(basename ${file}) - if [ "${file_basename:0:3}" = "ld-" ]; then - log DEBUG "Don't return a SONAME for linkers: ${file}" - return - fi - objdump -p ${file} 2>/dev/null | awk '/SONAME/ { print $2 }' }