From 760886a8cf50776127bc9069e817df11e32282e4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 22 Dec 2011 22:31:08 +0100 Subject: [PATCH] Add linker SONAMEs to dependencies as well. --- tools/find-provides | 3 --- tools/functions-files | 6 ------ 2 files changed, 9 deletions(-) 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 }' } -- 2.39.5