summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2022-12-28 21:58:09 +0900
committerAkira TAGOH <akira@tagoh.org>2023-01-25 09:18:08 +0900
commit8f5e6dc91bfc5f052b643730d39b2728c5bbe5b7 (patch)
tree4ed0e3cd616abaf989c61ccd5b2789cffd1d7ca0
parent6c2b709b325ba2166f40ec091b4db5ad7772520d (diff)
src/meson.build: Store correct paths to fontconfig.pc.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/345
-rw-r--r--src/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index 9a6ba20..34ccd8c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -88,6 +88,6 @@ pkgmod.generate(libfontconfig,
variables: [
'sysconfdir=@0@'.format(join_paths(prefix, get_option('sysconfdir'))),
'localstatedir=@0@'.format(join_paths(prefix, get_option('localstatedir'))),
- 'confdir=${sysconfdir}/fonts',
- 'cachedir=${localstatedir}/cache/fontconfig',
+ 'confdir=@0@'.format(fc_baseconfigdir),
+ 'cachedir=@0@'.format(fc_cachedir),
])