]> code.ossystems Code Review - openembedded-core.git/commit
autotools.bbclass: Set the dynamic linker search path for libtool correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Sep 2011 07:57:31 +0000 (08:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Sep 2011 16:55:05 +0000 (17:55 +0100)
commit93e595d5c89ebacdb8d1e6fcfe6f58fe2d30de28
tree0fa65fd592193139257e09ffd89f02445e2c76e3
parent33a1a05ef988c69f8ff8e38c6723922082e5d1aa
autotools.bbclass: Set the dynamic linker search path for libtool correctly

libtool obtains the search path from /etc/ld.so.conf and hardcodes /usr/lib
and /lib. This results in host contamination and variable sets of RPATH
values ending up in binaries.

By exporting the correct values for all autotools recipes we avoid this.

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