configure: preserve PKG_CONFIG for subdir builds
commitdaa79d9a65c95dc4262f86523384d5a4d85d9742
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 19 Sep 2019 13:07:36 +0000 (19 14:07 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 26 Sep 2019 18:00:53 +0000 (26 19:00 +0100)
tree7d5396ca35a79b6f55b2abb59e3fc0a8c3ec6463
parentb9fe0063b77a6d78ae5c21248da5330c6ad72488
configure: preserve PKG_CONFIG for subdir builds

The slirp sub-module complains about not being able to find the glib
library on cross-compiles because it is using the default pkg-config
tool (which isn't installed in our cross-build docker images).
Preserve PKG_CONFIG in our host config and pass it down to slirp.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Makefile
configure