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.
This commit is contained in:
Nicolas Dufresne 2019-06-04 15:30:43 -04:00
parent 6bd73861ca
commit bb9c37dcf0

View file

@ -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