summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-09-07 09:32:31 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2022-09-13 08:57:42 -0400
commit952a04a9f26706c13af569419b7966f36899ee0c (patch)
tree631ff5f79302d5cc87dd5853d444bca8d3006bca /fc-cache
parent0c7bb301f44cd26d36edda38d5cd8e7bf99a44a9 (diff)
downloadfontconfig-952a04a9f26706c13af569419b7966f36899ee0c.tar.gz
meson: Do not run fc-cache when installing into a DESTDIR
It cause permission denied errors because it is often not run as root. This requires Meson >=0.57.0.
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/fc-cache/meson.build b/fc-cache/meson.build
index 5e40fac..313cfef 100644
--- a/fc-cache/meson.build
+++ b/fc-cache/meson.build
@@ -9,5 +9,6 @@ tools_man_pages += ['fc-cache']
# Do not try to execute target's fc-cache on host when cross compiling
if get_option('cache-build').enabled() and not meson.is_cross_build()
- meson.add_install_script(fccache, '-s', '-f', '-v')
+ meson.add_install_script(fccache, '-s', '-f', '-v',
+ skip_if_destdir: true)
endif