* Fix pkg-config-references-unknown-shared-library by not adding flags for
required packages to the pc file:
pkg-config(1):
Libs: This line should give the link flags specific to your package.
Don't add any flags for required packages; pkg-config will add
those automatically.
...
Cflags:
This line should list the compile flags specific to your pack‐
age. Don't add any flags for required packages; pkg-config will
add those automatically.
Harshula Jayasuriya
4 years ago
0 | From: Harshula Jayasuriya <harshula@debian.org> | |
1 | Date: Wed, 01 Jan 2020 18:30:40 +1100 | |
2 | Subject: do not add flags for required packages to pc file | |
3 | --- a/libotf.pc.in | |
4 | +++ b/libotf.pc.in | |
5 | @@ -7,5 +7,5 @@ | |
6 | Description: OpenType font library | |
7 | Version: @PACKAGE_VERSION@ | |
8 | Requires: freetype2 | |
9 | -Libs: @FREETYPE_LD_FLAGS@ -L${libdir} -lotf | |
10 | -Cflags: @FREETYPE_INC@ -I${includedir} | |
11 | +Libs: -L${libdir} -lotf | |
12 | +Cflags: -I${includedir} |