From bb9c37dcf0ef83dd568bdb289864600e795b5f3e Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 4 Jun 2019 15:30:43 -0400 Subject: [PATCH] cross: Fix cross compilation meson error The doc is not currently built in cross-compilation, but we still had some meson code that eneded up being called and failed. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 383154477d..22551d213f 100644 --- a/meson.build +++ b/meson.build @@ -103,7 +103,7 @@ foreach sp : subprojects message('Created symlink to ' + project_name) endif - if build_infos.has_key('build-hotdoc', default: false) + if not meson.is_cross_build() and build_infos.has_key('build-hotdoc', default: false) if plugins.length() > 0 plugins_doc_caches += [subproj.get_variable('plugins_doc_dep')] endif