]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools: lib: thermal: Correct CFLAGS and LDFLAGS in pkg-config template
authorRomain Gantois <romain.gantois@bootlin.com>
Fri, 26 Dec 2025 07:54:32 +0000 (08:54 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 20 Jan 2026 19:37:38 +0000 (20:37 +0100)
commit965ef09a26f3efe7dcdc4691860c1e85da353b77
treecfa3a11b637beebf7516b1a5f7eda8be99a78ba3
parent9ace4753a5202b02191d54e9fdf7f9e3d02b85eb
tools: lib: thermal: Correct CFLAGS and LDFLAGS in pkg-config template

There are two issues with the current pkg-config template. Firstly, the
-lthermal linker flag is missing. Secondly, the libnl3 include directory
compiler flag references "include" instead of "includedir", which leads to
an unexpanded variable when pkg-config is called.

Add the missing -lthermal flag and correct the libnl3 include directory.

Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://patch.msgid.link/20251226-libthermal-pkgconfig-v1-1-3406de5ca8ea@bootlin.com
tools/lib/thermal/libthermal.pc.template