summary refs log tree commit diff stats
path: root/plugins/perl
diff options
context:
space:
mode:
authorRainer Müller <raimue@codingfarm.de>2018-03-23 01:36:35 +0100
committerTingPing <tingping@tingping.se>2018-03-23 09:14:45 +0000
commited6f544572d6cbfba94962799d82d6c511c11f40 (patch)
treed3cd741e3a25f1cfd67c16b717e16cf08e8b64b3 /plugins/perl
parentee85129a9bd8b564ddc0ce5bd3ae1d3335d9fbc2 (diff)
build: Add option to specify path to perl binary
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/meson.build2
1 files changed, 1 insertions, 1 deletions
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