Commit b368a0e3 authored by James Lee's avatar James Lee
Browse files

Fix 'meson install' when cross compiling

Prevent execution of target's fc-cache on host when installing
parent abc72336
......@@ -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('../', 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('../', fccache.full_path())
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