diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 2da7d6dba5..4ed5aa36ac 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -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