aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-26 22:14:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-27 12:03:18 +0000
commitfeea54df6768036649ca6c57524e2a1f480ad249 (patch)
tree4eb8a88090375f72489871b74a6d02cc26e47723 /meta/recipes-graphics
parenta956f9d91c8128e43b55c6bc01337472e47fe43a (diff)
downloadopenembedded-core-contrib-feea54df6768036649ca6c57524e2a1f480ad249.tar.gz
chrpath: Improve crazy code
The current code is a little bit overcomplicated, deficient and also possibly broken. Issues include: a) Not maximally optisming rpaths (e.g. a lib in usr/lib might get an rpath of $ORIGIN/../../usr/lib) b) The return in the middle of the for loop look suspiciously like it might break on some binaries c) The depth function, loops of "../" prepending and so on can be replaced with a call to os.path.relpath This patch cleans up the above issues. Running binaries should result in less "../" resolutions which can't hurt performance either. [YOCTO #3989] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
0 files changed, 0 insertions, 0 deletions