gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Remove the convey directory since we don't want docker hub to rebuild our images for every commit including ones that don't touch the images
feature/convey
2017-06-15, Gary Kramlich
3cb7d182f07d
Remove the convey directory since we don't want docker hub to rebuild our images for every commit including ones that don't touch the images
if
get_option
(
'perl'
)
if
not
get_option
(
'gobject-introspection'
)
error
(
'Perl plugin requires GObject Introspection.'
)
endif
GPLUGIN_PERL_SOURCES
=
[
'gplugin-perl-core.c'
,
'gplugin-perl-loader.c'
,
'gplugin-perl-plugin.c'
,
]
GPLUGIN_PERL_HEADERS
=
[
'gplugin-perl-loader.h'
,
'gplugin-perl-plugin.h'
,
]
PERL
=
find_program
(
'perl'
)
PERL_CFLAGS
=
run_command
(
PERL
,
'-MExtUtils::Embed'
,
'-e'
,
'ccopts'
).
stdout
()
PERL_LDFLAGS
=
run_command
(
PERL
,
'-MExtUtils::Embed'
,
'-e'
,
'ldopts'
).
stdout
()
message
(
'PERL_CFLAGS '
+
PERL_CFLAGS
)
message
(
'PERL_LDFLAGS '
+
PERL_LDFLAGS
)
PERL_CFLAGS
=
PERL_CFLAGS
.
split
()
PERL_LDFLAGS
=
PERL_LDFLAGS
.
split
()
shared_library
(
'gplugin-perl'
,
GPLUGIN_PERL_SOURCES
,
GPLUGIN_PERL_HEADERS
,
c_args
:
PERL_CFLAGS
,
link_args
:
PERL_LDFLAGS
,
name_prefix
:
''
,
dependencies
:
[
gplugin_dep
],
install
:
true
,
install_dir
:
join_paths
(
get_option
(
'libdir'
),
'gplugin'
)
)
endif
# perl