* meson.build: Install freetype2.m4.

Fixes #1290.
This commit is contained in:
Werner Lemberg 2024-08-12 12:43:14 +02:00
parent 6b992aaaf2
commit a4b4e3ec23

View File

@ -54,6 +54,9 @@ freetype_includedir = join_paths(get_option('includedir'), 'freetype2')
ft2_defines = []
freetype_aclocaldir = join_paths(get_option('datadir'), 'aclocal')
# Generate a custom `ftmodule.h` version based on the content of
# `modules.cfg`.
@ -433,6 +436,10 @@ install_headers(ft2_config_headers,
install_dir: join_paths(freetype_includedir, 'freetype/config'))
install_data('builds/unix/freetype2.m4',
install_dir: freetype_aclocaldir)
pkgconfig = import('pkgconfig')
pkgconfig.generate(ft2_lib,