aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-03-29 16:39:11 +0900
committerJunio C Hamano <gitster@pobox.com>2025-03-29 16:39:11 +0900
commit81d8747cea0010ea8521332cb4f5dbfe8fe93172 (patch)
treed44eb7584aa9f13c4adb483b38df3504fdc18d9e
parentMerge branch 'en/random-cleanups' (diff)
parentmeson: fix perl detection when docs are enabled, but perl bindings aren't (diff)
downloadgit-81d8747cea0010ea8521332cb4f5dbfe8fe93172.tar.gz
git-81d8747cea0010ea8521332cb4f5dbfe8fe93172.zip
Merge branch 'es/meson-building-docs-requires-perl'
Build update. * es/meson-building-docs-requires-perl: meson: fix perl detection when docs are enabled, but perl bindings aren't
Diffstat (limited to '')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 33d92c066c..e98cfa4909 100644
--- a/meson.build
+++ b/meson.build
@@ -779,7 +779,7 @@ endif
# features. It is optional if you want to neither execute tests nor use any of
# these optional features.
perl_required = get_option('perl')
-if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers')
+if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') or get_option('docs') != []
perl_required = true
endif