even more potential fixes for partial stripping of a linux bundle
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 1 Apr 2011 19:34:31 +0000 (19:34 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 1 Apr 2011 19:34:31 +0000 (19:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9255 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build

index 2da7d6dba5ae2a0a02adcfed7641a209a90031b8..4ed5aa36ac7766ae1fc7c57374b2f214194c638b 100755 (executable)
@@ -512,8 +512,11 @@ while [ true ] ; do
                                else
                                        echo "Copying dependant lib $dep    (required by ${parent})"
                                        cp $dep $Libraries
-                                        deplibs="$deplibs $base"
                                fi
+                                if echo $dep | grep -sq '^/' ; then
+                                    # absolute path, candidate for stripping
+                                    deplibs="$deplibs $base"
+                                fi
                                missing=true
                        fi
                done