mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
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 <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://patch.msgid.link/[email protected]
13 lines
311 B
Plaintext
13 lines
311 B
Plaintext
# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
|
|
|
|
prefix=@PREFIX@
|
|
libdir=@LIBDIR@
|
|
includedir=${prefix}/include
|
|
|
|
Name: libthermal
|
|
Description: thermal library
|
|
Requires: libnl-3.0 libnl-genl-3.0
|
|
Version: @VERSION@
|
|
Libs: -L${libdir} -lnl-genl-3 -lnl-3 -lthermal
|
|
Cflags: -I${includedir} -I${includedir}/libnl3
|