[Scummvm-devel] ATTN Porters: Freetype2 detection now uses pkg-config

Bastien Bouclet bastien.bouclet at gmail.com
Sat Aug 4 11:02:28 CEST 2018


Hi all,

With their 2.9.1 release, freetype stopped installing the freetype-config
script by default. Applications are now recommended to use the pkg-config
tool to get the library compilation flags.

ScummVM has been updated to use pkg-config by default to detect freetype,
with a fallback to the old freetype-config script if pkg-config is not
installed or if freetype is not found through pkg-config.

However, special care is required when cross-compiling. pkg-config by
default uses the package description files (.pc files) from the host
system. The PKG_CONFIG_LIBDIR environment variable must be set to the path
of the target system toolchain .pc files directory for pkg-config to use
them.

Maybe you'll want to add a line looking like this to your toolchain
environment setup script:
export PKG_CONFIG_LIBDIR=/opt/toolchains/ps3dev/lib/pkgconfig

This configuration has already been applied to the buildbot server
toolchains.

Bastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20180804/db7ab1a7/attachment.html>


More information about the Scummvm-devel mailing list