[Buildroot] [PATCH 1/2] package/kodi-*: run pkg-config at build time, not at parse time

Peter Korsgaard peter at korsgaard.com
Sun Dec 12 22:12:22 UTC 2021


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > When calling 'printvars' on a just-configured tree, the output contains
 > many spurious warnings about pkg-config being not found:

 >     make[1]: [...]/host/bin/pkg-config: Command not found

 > This is partly because a few packages call pkg-config at the time the
 > Makefile is parsed (really, right when make evaluates the recipe before
 > executing it).

 > It is customary, instead, to defer the call to pkg-config to the actual
 > shell running the recipe's commands, like all our other packages do.

 > Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
 > Cc: Bernd Kuhls <bernd.kuhls at t-online.de>

Committed to 2021.08.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list