meson.eclass: respect PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR
authorMike Gilbert <floppym@gentoo.org>
Sun, 3 May 2020 17:49:10 +0000 (13:49 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 3 May 2020 17:54:46 +0000 (13:54 -0400)
commita533fc39bfcb06c29952c5c8afecb4bab4533a8b
treef12f16e1b9c5375bab2d0579814f708c327db1c7
parentcbeeaff9e92cd67e100e5810ce1cf5d075d3f438
meson.eclass: respect PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR

Respect PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR if set before
meson_src_configure.

Add BUILD variants for use in cross-compiles.

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