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.
This commit is contained in:
parent
0c7bb301f4
commit
952a04a9f2
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
project('fontconfig', 'c',
|
||||
version: '2.14.0',
|
||||
meson_version : '>= 0.56.0',
|
||||
meson_version : '>= 0.57.0',
|
||||
default_options: [ 'buildtype=debugoptimized'],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue