Do not force a lookup in LOCALBASE/lib for shared libraries.

ldd should work correctly if rpath is set, and this adds false
positives.

PR:		213547
Submitted by:	John Hein
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-10-25 11:44:19 +00:00
parent 25d572f2cf
commit 73a69a6388
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424616

View file

@ -658,7 +658,7 @@ proxydeps() {
fi
already="${already} ${dep_file}"
done <<-EOT
$(LD_LIBRARY_PATH=${LOCALBASE}/lib ldd -a "${STAGEDIR}${file}" | \
$(ldd -a "${STAGEDIR}${file}" | \
awk '\
BEGIN {section=0}\
/^\// {section++}\