diff options
author | Fabiano Fidêncio <fidencio@redhat.com> | 2019-09-25 14:33:29 +0200 |
---|---|---|
committer | Fabiano Fidêncio <fidencio@redhat.com> | 2019-09-25 16:21:03 +0200 |
commit | fd50c20f5873dc16434ab41b3921c718d0ace6c8 (patch) | |
tree | e32cd11ac996d74a78ab752b2f549a8ecbc92d86 | |
parent | c4815cc7b9c38e040e6358a84ebebb38a138a8c3 (diff) | |
download | libosinfo-fd50c20f5873dc16434ab41b3921c718d0ace6c8.tar.gz |
meson: Disable gtk-doc for cross-builds
Let's disable gtk-doc build when performing a cross-build as
`./Libosinfo-scan` will be generated for the cross architecture and
cannot be run from the host machine architecture.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 6d5f0db..8b9f02d 100644 --- a/meson.build +++ b/meson.build @@ -349,7 +349,7 @@ endif subdir('osinfo') subdir('tools') subdir('po') -if get_option('enable-gtk-doc') +if get_option('enable-gtk-doc') and not meson.is_cross_build() if find_program('gtkdoc-scan', required: true).found() subdir('docs/reference') else |