Skip to content
Permalink
Browse files

meson.build: explicitly call perl script using perl runtime binary

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information...
tycho committed May 27, 2018
1 parent 4e6fc15 commit 1c031c5d2fec0a14b3cd1584e9e21a966ed7a362
Showing with 2 additions and 1 deletion.
  1. +2 −1 meson.build
@@ -26,10 +26,11 @@ sources = [
]
incdirs = include_directories('source', '.')

perl = find_program(['perl'])
gen_buildnum_h = custom_target('build_number.h',
input: [],
output: ['build_number.h'],
command: [join_paths(meson.current_source_dir(), 'tools', 'gen_buildnum_h.pl'), '@OUTPUT@'])
command: [perl, join_paths(meson.current_source_dir(), 'tools', 'gen_buildnum_h.pl'), '@OUTPUT@'])

lib = static_library(
'crisscross',

0 comments on commit 1c031c5

Please sign in to comment.
You can’t perform that action at this time.