]> code.ossystems Code Review - openembedded-core.git/commit
libtool: Avoid relinking when cross compiling, its pointless
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Nov 2011 16:58:34 +0000 (16:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Nov 2011 00:02:27 +0000 (00:02 +0000)
commit0a1dedeb8eea4e230b47d1516b3e6e90495fe49d
tree573414491534128864788aaea09cbe57570f3680
parentca8237ee51053d70b5e7579c224a824db2be76b2
libtool: Avoid relinking when cross compiling, its pointless

There is no point in having "executable" binaries in the .libs
directory linked with different rpaths to the target which
could concivably be run on the build system when cross compiling.

This patch removes the extra rpaths ($compile_rpath) so that the
output from the "link" stage can be used on the target. We can then
avoid having to "relink" during the install stage.

This saves some build time (do_install is over 2 minutes faster for
pulseaudio).

This patch also removes an annoying "seems to be moved" warning
which is totally bogus in the sysroot case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/libtool/libtool-cross_2.4.bb
meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
meta/recipes-devtools/libtool/libtool/fixinstall.patch [new file with mode: 0644]