diff options
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 509ae5de..0d496718 100644 --- a/meson.build +++ b/meson.build @@ -147,4 +147,7 @@ if libdrm_intel.found() endif endif subdir('man') -subdir('docs') +# has_exe_wrapper() is undefined if building natively +if not meson.is_cross_build() or not meson.has_exe_wrapper() + subdir('docs') +endif |