chrpath: Add support for relocating darwin binaries
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2013 11:07:22 +0000 (11:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 15:20:14 +0000 (16:20 +0100)
commit4b983b6d797cca5e995397f952c76ef8529132c8
tree6430f0122fd89d4bace427550287f7339d473788
parent38e1f31420ee520c333ab961159f0bda818381a3
chrpath: Add support for relocating darwin binaries

On darwin, install_name_tool can be used to relocate binaries/libraries. This
adds support for adjusting them with relative paths rather than hardcoded ones.
The Linux code is factored out into a function but is otherwise unchanged.

(From OE-Core rev: ed5ace3437eb0f751172e6b93399639c94b89e59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/chrpath.bbclass