aboutsummaryrefslogtreecommitdiff
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
parentff926a6d1b37a8c7c675bc8f8931474bdb525e8c (diff)
parent7c8cd9c1587d180e2d4aa6d0520c0a8ea1a551e6 (diff)
downloadgit-81d8747cea0010ea8521332cb4f5dbfe8fe93172.tar.xz
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
-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