1 |
Author: grobian |
2 |
Date: 2009-06-19 19:34:38 +0000 (Fri, 19 Jun 2009) |
3 |
New Revision: 13654 |
4 |
|
5 |
Modified: |
6 |
main/branches/prefix/bin/misc-functions.sh |
7 |
Log: |
8 |
be a bit more precise |
9 |
|
10 |
Modified: main/branches/prefix/bin/misc-functions.sh |
11 |
=================================================================== |
12 |
--- main/branches/prefix/bin/misc-functions.sh 2009-06-19 19:25:10 UTC (rev 13653) |
13 |
+++ main/branches/prefix/bin/misc-functions.sh 2009-06-19 19:34:38 UTC (rev 13654) |
14 |
@@ -438,7 +438,7 @@ |
15 |
# this is ugly, paths with spaces won't work |
16 |
reevaluate=0 |
17 |
for lib in $(echo ${needed} | tr , ' '); do |
18 |
- if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != *"@executable_path"* && *${lib} != *"@loader_path"* ]] ; then |
19 |
+ if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != "@executable_path/"* && *${lib} != "@loader_path/"* ]] ; then |
20 |
# try to "repair" this if possible, happens because of |
21 |
# gen_usr_ldscript tactics |
22 |
s=${lib%usr/*}${lib##*/usr/} |