[PATCH] power/amd_uncore: detect esmi lib64 using pkgconfig

Stephen Hemminger stephen at networkplumber.org
Wed Apr 1 01:29:39 CEST 2026


On Tue, 31 Mar 2026 04:09:58 +0000
Sivaprasad Tummala <sivaprasad.tummala at amd.com> wrote:

> Replace manual detection of e_smi_lib64 library from find_library() with
> dependency() via pkg-config in meson.
> 
> Meson find_library() API may select incompatible libraries,
> requiring additional checks. Using pkg-config avoids this
> by providing correct build flags via .pc files.
> 
> Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala at amd.com>

Looks much better. I know Fedora has the library not sure about RHEL, Ubuntu, ...
but they will get there.

The documentation needs updating and a release note (for 26.07)
would make it easier for the user.


More information about the dev mailing list