]> git.ipfire.org Git - pakfire.git/commitdiff
Add linker SONAMEs to dependencies as well.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Dec 2011 21:31:08 +0000 (22:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Dec 2011 21:31:08 +0000 (22:31 +0100)
tools/find-provides
tools/functions-files

index 64603286d4e7f45656726fda423a2c349fac9a40..51efa9e65f5f27aff1fc2feec8f16e8b5b660fff 100755 (executable)
@@ -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.
                        ;;
index 593a177729003d112d6a4a693386fca17d8aa710..8f27db60a6879c8442d60572c6237c9f7367d26f 100644 (file)
@@ -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 }'
 }