]> git.ipfire.org Git - pakfire.git/commitdiff
QA: Remove libs-location check for libgcc_s.so.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Mar 2012 11:33:12 +0000 (12:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Mar 2012 11:33:12 +0000 (12:33 +0100)
That did not work very well and we now do not
have libgcc_s.so.1 installed in /lib anymore.

tools/quality-agent.d/003-libs-location

index 0ee82376412dfdef3333455a7a8323152391d3ed..8f04358d309d9b4f2e9ce28e912ea10bf4eb6c6e 100755 (executable)
@@ -14,13 +14,6 @@ case "$(uname -m)" in
                ;;
 esac
 
-# Find gcc libdir.
-gcc_libdir=$(gcc -print-libgcc-file-name)
-for i in 1 2; do
-       gcc_libdir=$(dirname ${gcc_libdir})
-done
-gcc_libdir=$(find ${BUILDROOT}${gcc_libdir}/* -type d -maxdepth 1 2>/dev/null | sort | head -n1)
-
 function check() {
        local failed=0
        local found
@@ -33,7 +26,7 @@ function check() {
                found=0
 
                # Check if ${lib}.so is in the linker's search path.
-               for path in /usr/${libdir} ${gcc_libdir}; do
+               for path in /usr/${libdir}; do
                        if [ -e "${BUILDROOT}${path}/${lib}.so" ]; then
                                found=1
                                break