Skip to content

Commit d874d37

Browse files
Peter Olivergitster
authored andcommitted
meson: bump minimum required Perl version to 5.26.0
Commit 702d8c1 (Require Perl 5.26.0, 2024-10-23) dropped support for Perl versions older than 5.26.0. The Meson build system, which has been developed in parallel to that commit, hasn't been bumped accordingly and thus still requires Perl 5.8.1 or newer. Fix this by requiring Perl 5.26.0 or newer with Meson. Signed-off-by: Peter Oliver <[email protected]> Reviewed-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0394451 commit d874d37

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
@@ -777,7 +777,7 @@ endif
777777

778778
# Note that we only set NO_PERL if the Perl features were disabled by the user.
779779
# It may not be set when we have found Perl, but only use it to run tests.
780-
perl = find_program('perl', version: '>=5.8.1', dirs: program_path, required: perl_required)
780+
perl = find_program('perl', version: '>=5.26.0', dirs: program_path, required: perl_required)
781781
perl_features_enabled = perl.found() and get_option('perl').allowed()
782782
if perl_features_enabled
783783
build_options_config.set('NO_PERL', '')

0 commit comments

Comments
 (0)