1 |
Author: genone |
2 |
Date: 2008-04-27 08:56:53 +0000 (Sun, 27 Apr 2008) |
3 |
New Revision: 9997 |
4 |
|
5 |
Modified: |
6 |
main/trunk/bin/misc-functions.sh |
7 |
Log: |
8 |
actually use rpath for the internal lib check |
9 |
|
10 |
Modified: main/trunk/bin/misc-functions.sh |
11 |
=================================================================== |
12 |
--- main/trunk/bin/misc-functions.sh 2008-04-27 08:22:29 UTC (rev 9996) |
13 |
+++ main/trunk/bin/misc-functions.sh 2008-04-27 08:56:53 UTC (rev 9997) |
14 |
@@ -176,7 +176,11 @@ |
15 |
sneeded=$(echo ${needed} | tr , ' ') |
16 |
rneeded="" |
17 |
for lib in ${sneeded}; do |
18 |
- [ -e "${D}/${dir}/${lib}" ] || rneeded="${rneeded},${lib}" |
19 |
+ found=0 |
20 |
+ for path in ${opath//:/ }; do |
21 |
+ [ -e "${D}/${path}/${lib}" ] && found=1 |
22 |
+ done |
23 |
+ [ "${found}" -gt 0 ] && rneeded="${rneeded},${lib}" |
24 |
done |
25 |
rneeded=${rneeded:1} |
26 |
if [ -n "${rneeded}" ]; then |
27 |
|
28 |
-- |
29 |
gentoo-commits@l.g.o mailing list |