Skip to content

Commit 81d8747

Browse files
committed
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
2 parents ff926a6 + 7c8cd9c commit 81d8747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ endif
779779
# features. It is optional if you want to neither execute tests nor use any of
780780
# these optional features.
781781
perl_required = get_option('perl')
782-
if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers')
782+
if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') or get_option('docs') != []
783783
perl_required = true
784784
endif
785785

0 commit comments

Comments
 (0)