Commit b368a0e3 authored by James Lee's avatar James Lee

Fix 'meson install' when cross compiling

Prevent execution of target's fc-cache on host when installing
parent abc72336
Pipeline #223605 failed with stage
in 6 minutes and 16 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment