diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-23 00:54:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-30 12:47:36 +0000 |
commit | e6c0f8eddf8ff4a6132934a69e0f3450d4843ece (patch) | |
tree | a4716fb69048dbd4910c788c88a4994be58766a5 /scripts/lib/recipetool/create_kernel.py | |
parent | df07a95f270492dba9fa04f917617b1aaee123b9 (diff) | |
download | openembedded-core-e6c0f8eddf8ff4a6132934a69e0f3450d4843ece.tar.gz openembedded-core-e6c0f8eddf8ff4a6132934a69e0f3450d4843ece.tar.bz2 openembedded-core-e6c0f8eddf8ff4a6132934a69e0f3450d4843ece.zip |
gettext: beat library detection into shape
For reasons I can't explain gettext uses several hundred lines of convoluted m4
to find the paths to a library.
If we don't tell it where to find a library it will hunt around and potentially
have host contamination as /usr/lib on the host is explicitly searched.
If we tell it the prefix to a library then we get bad RPATHs in the binaries
(such as /usr/lib/../lib), and the search assumes that it knows best about what
the library directories are under that prefix (even when it's wrong).
So, replace the lookup where possible with pkg-config calls (libxml2, glib,
libcroco). libunistring doens't have a pkgconfig file so just don't use the
system libunistring: the library is tiny anyway.
(From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_kernel.py')
0 files changed, 0 insertions, 0 deletions