kumquat-buildroot/package/meson
Arnout Vandecappelle (Essensium/Mind) 4e0bc29993 package/pkg-meson.mk: explicitly specify pkg-config settings
meson is able to distinguish between host (= native) and target (=
cross) compilation. It will explicitly pass different options to
pkg-config to distinguish them. Therefore, we don't need to use the
pkg-config wrapper when using meson, and can instead pass the pkg-config
settings through the cross-compilation.conf.

This is important because in some situations (e.g. for the Python
configuration), meson sets the PKG_CONFIG_LIBDIR variable to a different
value before calling pkg-config. Relying on our wrapper script doesn't
work in that case (except if the script would unconditionally set
PKG_CONFIG_LIBDIR, which it doesn't do at the moment).

Add the sys_root and pkg_config_lib settings to cross-compilation.conf
and use pkgconf directly instead of the wrapper.

Note that this requires us to substitute STAGING_DIR as well, with an
absolute path. This is not a big deal since cross-compilation.conf is
regenerated for every package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-05 16:56:43 +01:00
..
0001-Only-fix-RPATH-if-install_rpath-is-not-empty.patch
0002-Prefer-ext-static-libs-when-default-library-static.patch
0003-envconfig-add-pkg_config_libdir-property.patch package/meson: add upstream patch to support pkg_config_libdir 2020-02-05 16:56:43 +01:00
cross-compilation.conf.in package/pkg-meson.mk: explicitly specify pkg-config settings 2020-02-05 16:56:43 +01:00
meson.hash
meson.mk