projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f22b4
)
actually use rpath for the internal lib check
author
Marius Mauch
<genone@gentoo.org>
Sun, 27 Apr 2008 08:56:53 +0000
(08:56 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Sun, 27 Apr 2008 08:56:53 +0000
(08:56 -0000)
svn path=/main/trunk/; revision=9997
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index 995ec0b371c69a2bf0523624fa1efbc76b4799d4..6bc0419e076eedc80b5ff5d92635206e297c2b12 100755
(executable)
--- a/
bin/misc-functions.sh
+++ b/
bin/misc-functions.sh
@@
-176,7
+176,11
@@
install_qa_check() {
sneeded=$(echo ${needed} | tr , ' ')
rneeded=""
for lib in ${sneeded}; do
- [ -e "${D}/${dir}/${lib}" ] || rneeded="${rneeded},${lib}"
+ found=0
+ for path in ${opath//:/ }; do
+ [ -e "${D}/${path}/${lib}" ] && found=1
+ done
+ [ "${found}" -gt 0 ] && rneeded="${rneeded},${lib}"
done
rneeded=${rneeded:1}
if [ -n "${rneeded}" ]; then