meson.eclass: wire up pkgconfig variables
authorMike Gilbert <floppym@gentoo.org>
Thu, 23 Apr 2020 15:21:00 +0000 (11:21 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 23 Apr 2020 15:28:10 +0000 (11:28 -0400)
commit3ac0cf49ca2ec08758e6f25d1081e20d33ccebb1
treeec9396d98e3435ae0ceed2b09752da3bef530346
parent0178c080bc06afcf98cbf317dce5c42aec54cc3f
meson.eclass: wire up pkgconfig variables

meson-0.54.0 introduced a regression in how meson treats the
PKG_CONFIG_PATH variable. Work around this by passing the value to meson
setup on the command line.

Also add sys_root and pkg_config_libdir to cross files per the upstream
documentation.

Bug: https://bugs.gentoo.org/719018
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass