[pango/nirbheek/fix-cross-build] meson: Don't run help2man when cross building
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/nirbheek/fix-cross-build] meson: Don't run help2man when cross building
- Date: Fri, 12 Oct 2018 15:29:20 +0000 (UTC)
commit 9f405de60fbcf3cf52e61add5c8691778d6920cd
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Fri Oct 12 18:12:47 2018 +0530
meson: Don't run help2man when cross building
utils/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/utils/meson.build b/utils/meson.build
index 3adcc32f..510d1b7e 100644
--- a/utils/meson.build
+++ b/utils/meson.build
@@ -40,7 +40,9 @@ pango_view = executable('pango-view', pango_view_sources,
])
help2man = find_program('help2man', required: false)
-if help2man.found()
+# help2man has to run pango-view to generate the man page, which it can't do if
+# we're cross building. We also can't tell help2man what exe wrapper to use.
+if help2man.found() and not meson.is_cross_build()
help2man_opts = [
'--no-info',
'--section=1',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]