diff options
Diffstat (limited to 'plugins/perl')
-rw-r--r-- | plugins/perl/meson.build | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/perl/meson.build b/plugins/perl/meson.build index 3779a35c..06ffd54b 100644 --- a/plugins/perl/meson.build +++ b/plugins/perl/meson.build @@ -76,11 +76,14 @@ int main(void) { error('found perl not suitable for plugin') endif +perl_dep = declare_dependency( + compile_args: perl_cflags, + link_args: perl_ldflags +) + shared_module('perl', sources: ['perl.c', hexchat_perl_module, irc_perl_module], - dependencies: [libgio_dep, hexchat_plugin_dep], - c_args: perl_cflags, - link_args: perl_ldflags, + dependencies: [libgio_dep, hexchat_plugin_dep, perl_dep], install: true, install_dir: plugindir, install_rpath: perl_rpath, |