diff --git a/plugins/perl/meson.build b/plugins/perl/meson.build index 95421a06..a2d215ef 100644 --- a/plugins/perl/meson.build +++ b/plugins/perl/meson.build @@ -28,7 +28,7 @@ endif perl = find_program(get_option('with-perl')) -ret = run_command([perl, '-MExtUtils::Embed', '-e', 'ccopts']) +ret = run_command([perl, '-MExtUtils::Embed', '-e', 'ccopts'], check: false) if ret.returncode() != 0 error('perl: Failed to get cflags') endif @@ -38,7 +38,7 @@ foreach flag : ret.stdout().strip().split(' ') endif endforeach -ret = run_command([perl, '-MExtUtils::Embed', '-e', 'ldopts']) +ret = run_command([perl, '-MExtUtils::Embed', '-e', 'ldopts'], check: false) if ret.returncode() != 0 error('perl: Failed to get ldflags') endif