]> code.ossystems Code Review - openembedded-core.git/commit
multilib: let pkg-config find architecture-independent .pc files
authorRoss Burton <ross.burton@intel.com>
Thu, 20 Aug 2015 15:04:02 +0000 (16:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Aug 2015 22:24:53 +0000 (23:24 +0100)
commit6a6dd4eb53dbf8a0c31ac2d68af5befebe727596
tree854cc39b4af699b2a87be43fdfcccf60210a9d30
parentc38acd720b3f6ffbeb544063692eb471dada8593
multilib: let pkg-config find architecture-independent .pc files

If a multilib package depends on an allarch recipe that installs an
architecture-independent .pc file it will not be able to find the .pc file as
the recipe gets installed into the MACHINE sysroot but pkg-config looks in the
MLPREFIX-prefixed sysroot.

Solve this by extending PKG_CONFIG_PATH in multilib environments to include the
architecture-independent path in the MACHINE sysroot
(sysroots/MACHINE/usr/share/pkgconfig/).

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/multilib.conf