pkg-config: always use correct path for pkg-config.real
authorLeonardo Mörlein <me@irrelefant.net>
Tue, 9 Aug 2022 19:54:04 +0000 (21:54 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 13 Aug 2022 22:29:20 +0000 (00:29 +0200)
commit6a638c134d790413ea2c6976caaa89f73375310c
tree120b36d284f6a9bca0a64f45bc5c7af582a3f84e
parent1c7a1673664a9353ea7102b3271210fce252b949
pkg-config: always use correct path for pkg-config.real

Before this commit, it was assumed that pkg-config.real is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. The command failed with

    Makefile:15: *** No libnl-tiny development libraries found!.  Stop.
    make[1]: Leaving directory

since pkg-config of the host system was used.

After the commit, the package is built sucessfully.

Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
(cherry picked from commit 37c0d15a8e9eb30920091bff1bf466640bc64dad)
tools/pkgconf/files/pkg-config