Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] relocate_sdk.py: fix lib path error
@ 2014-06-06  7:17 rongqing.li
  2014-06-06 12:22 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: rongqing.li @ 2014-06-06  7:17 UTC (permalink / raw)
  To: yanjun.zhu, openembedded-core

From: yzhu1 <yanjun.zhu@windriver.com>

In centos 5.9 32bit, ld lib does not contain some flags, so ld
lib is not parsed. So correct lib path is not got from ld lib.

Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
---
 scripts/relocate_sdk.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py
index 05d9fd6..a05a7fa 100755
--- a/scripts/relocate_sdk.py
+++ b/scripts/relocate_sdk.py
@@ -201,7 +201,7 @@ else:
     new_prefix = sys.argv[1].encode()
     new_dl_path = sys.argv[2].encode()
 
-executables_list = sys.argv[3:]
+executables_list = sys.argv[2:]
 
 for e in executables_list:
     perms = os.stat(e)[stat.ST_MODE]
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-12 12:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06  7:17 [PATCH] relocate_sdk.py: fix lib path error rongqing.li
2014-06-06 12:22 ` Khem Raj
2014-06-12 10:14   ` yzhu1
2014-06-12 12:07     ` Laurentiu Palcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox