Implement QA check for install_names (libraries linked to, and their
authorFabian Groffen <grobian@gentoo.org>
Sun, 2 Sep 2007 10:02:06 +0000 (10:02 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 2 Sep 2007 10:02:06 +0000 (10:02 -0000)
commitd5f2b712b14c3d66767008ff66a598a1acf68d27
tree65b4c554a3403005d5bf8b65f633eb6e08ea8698
parent57f9fc2a73a17d103ec4b64b457c7117b65fd35f
Implement QA check for install_names (libraries linked to, and their
location) on Darwin, such that we can detect upfront if something is
going to error out during runtime.  Try to correct invalid install_names
if they are in the image, which can be a result of gen_usr_ldscript
library movements and breaks any tool shipped with that library itself,
e.g. libiconv's `iconv` utility.

svn path=/main/branches/prefix/; revision=7724
bin/misc-functions.sh