diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -782,6 +782,13 @@ prepare_tracedeps() { scanelf --quiet --recursive --rpath "$dir" \ | sed -e 's/[[:space:]].*//' -e 's/:/\n/' | sort -u \ >"$controldir"/.rpaths + if grep -q -x '/usr/lib' "$controldir"/.rpaths; then + warning "Redundat /usr/lib in rpath found" + fi + if grep '^/home/' "$controldir"/.rpaths; then + error "Has /home/... in rpath" + return 1 + fi } # check if dir has arch specific binaries |