From ed6f544572d6cbfba94962799d82d6c511c11f40 Mon Sep 17 00:00:00 2001 From: Rainer Müller Date: Fri, 23 Mar 2018 01:36:35 +0100 Subject: build: Add option to specify path to perl binary --- plugins/perl/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/perl') diff --git a/plugins/perl/meson.build b/plugins/perl/meson.build index 180797ee..3779a35c 100644 --- a/plugins/perl/meson.build +++ b/plugins/perl/meson.build @@ -25,7 +25,7 @@ if get_option('with-perl-legacy-api') perl_cflags += '-DOLD_PERL' endif -perl = find_program('perl') +perl = find_program(get_option('with-perl')) ret = run_command([perl, '-MExtUtils::Embed', '-e', 'ccopts']) if ret.returncode() != 0 -- cgit 1.4.1