commit | 124b21e7bd3d0ad5258c7cf84540301bff27012a | [log] [tgz] |
---|---|---|
author | Heiko Thiery <heiko.thiery@gmail.com> | Wed Jul 20 12:31:35 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 04 15:32:20 2022 -0400 |
tree | cd9944c3deee8ba931455786c291287d0f8e51e3 | |
parent | 31a7688cbe0ed5edf4108a1f7ef4653659610d4b [diff] |
tools: kwboot: use pkg-config to get -ltinfo Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Reviewed-by: Pali Rohár <pali@kernel.org> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>