qulogic/gplugin
Clone
Summary
Browse
Changes
Graph
Rework the way we handle a perl error to make pvs-studio happy.
draft
bugfix/pvs-studio-false-positive-v568
2020-05-12, Gary Kramlich
c0a9a277099b
Rework the way we handle a perl error to make pvs-studio happy.
if
get_option
(
'perl'
)
e
=
executable
(
'test-perl-loader'
,
'test-perl-loader.c'
,
c_args
:
[
'-DPERL_LOADER_DIR="@0@/.."'
.
format
(
meson
.
current_build_dir
()),
'-DPERL_PLUGIN_DIR="@0@/plugins"'
.
format
(
meson
.
current_source_dir
()),
],
link_with
:
gplugin_loader_tests
,
dependencies
:
[
GLIB
,
GOBJECT
,
gplugin_dep
,
perl_dep
])
test
(
'Perl Loader'
,
e
)
endif
# perl