Fix 'meson install' when cross compiling
Prevent execution of target's fc-cache on host when installing
This commit is contained in:
parent
abc723366d
commit
b368a0e380
|
@ -6,4 +6,8 @@ fccache = executable('fc-cache', ['fc-cache.c', fcstdint_h, alias_headers, ft_al
|
|||
)
|
||||
|
||||
tools_man_pages += ['fc-cache']
|
||||
meson.add_install_script('../install-cache.py', fccache.full_path())
|
||||
|
||||
# Do not try to execute target's fc-cache on host when cross compiling
|
||||
if not meson.is_cross_build()
|
||||
meson.add_install_script('../install-cache.py', fccache.full_path())
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue