From 4b8cbea23bcf1cfb5d363568a7a8ccc30ab312ed Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 1 Feb 2008 21:42:05 +0000 Subject: [PATCH] Save full paths for needed objects on Darwin, and store prefixed path as well svn path=/main/branches/prefix/; revision=9270 --- bin/misc-functions.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index c775722d0..2f4f6e426 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -364,12 +364,10 @@ install_qa_check() { touch "${T}"/.install_name_check_failed fi fi - # scanelf only knows the libname, so we'll do the same even - # though we have the full path :( - needed="${needed}${needed:+,}${r##*/}" + needed=${needed}${needed:+,}${r} done [[ -n ${needed} ]] && \ - echo "/${f#${ED}} ${needed}" > "${PORTAGE_BUILDDIR}"/build-info/NEEDED + echo "/${f#${D}} ${needed}" >> "${PORTAGE_BUILDDIR}"/build-info/NEEDED done if [[ -f ${T}/.install_name_check_failed ]] ; then # secret switch "allow_broken_install_names" to get -- 2.26.2