119e404b89
We have to help `pkg-config` since it can't recognize that there is no shared library installed. Note that meson already does exactly the same. * builds/unix/configure.raw (REQUIRES_PRIVATE, LIBS_PRIVATE): Rename to... (PKGCONFIG_REQUIRES_PRIVATE, PKGCONFIG_LIBS_PRIVATE): This. Adjust them depending on `$enable_shared`. (PKGCONFIG_REQUIRES, PKGCONFIG_LIBS): New variables. * builds/unix/freetype2.in, builds/unix/unix-def.in: Use new and updated variables.
15 lines
383 B
Plaintext
15 lines
383 B
Plaintext
prefix=%prefix%
|
|
exec_prefix=%exec_prefix%
|
|
libdir=%libdir%
|
|
includedir=%includedir%
|
|
|
|
Name: FreeType 2
|
|
URL: https://freetype.org
|
|
Description: A free, high-quality, and portable font engine.
|
|
Version: %ft_version%
|
|
Requires: %PKGCONFIG_REQUIRES%
|
|
Requires.private: %PKGCONFIG_REQUIRES_PRIVATE%
|
|
Libs: %PKGCONFIG_LIBS%
|
|
Libs.private: %PKGCONFIG_LIBS_PRIVATE%
|
|
Cflags: -I${includedir}/freetype2
|