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. Moreover, it isn't necessary to add this flag here,
since the "Requires" field will cause pkg-config do add it automatically.
The same logic applies to the LDFLAGS for libnl3.

Add the missing -lthermal flag and remove unnecessary and incorrect libnl3
flags.

Fixes: 47c4b0de080a ("tools/lib/thermal: Add a thermal library")
Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
Link: https://patch.msgid.link/20260105-libthermal-pkgconfig-v2-1-e086bdeddb41@bootlin.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 file changed