Improve cross-building by honoring PKG_CONFIG from environment 37/head
authorDamyan Ivanov <dmn@debian.org>
Sun, 10 May 2020 07:13:35 +0000 (07:13 +0000)
committerDamyan Ivanov <dmn@debian.org>
Sun, 10 May 2020 07:26:31 +0000 (07:26 +0000)
commit1679444dceb2fb9b299463699e344a79d3e984a3
tree1e1cd8740ec071376f47ebd714fd69a4f6eae394
parente95526d06cd4d8869befb79a26ade8bbc2262265
Improve cross-building by honoring PKG_CONFIG from environment

This is in response to Debian bug #960165 by Helmut Grohne.
<https://bugs.debian.org/960165>

When cross-building, another pkg-config is used that accounts for the target
architecture.

The patch makes it possible to supply that via the PKG_CONFIG environment
variable and defaults to 'pkg-config' so no such variable defaults to
native build.
Makefile