summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBiswapriyo Nath <nathbappai@gmail.com>2022-01-21 12:11:19 +0530
committerPatrick <tingping@tingping.se>2022-01-21 15:54:49 -0600
commit1de339dfbcbc167f14345a75512b1e2658eafdad (patch)
treed9398cc73e2902788ddadb10553411b899cf04a2 /plugins
parenta330c1cf4dc4a5a7be2e44e8622a566f01da594c (diff)
meson: Fix exported functions in plugins
This adds DEF file names in meson. Without the DEF files, every
functions are exproted from plugins.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/checksum/meson.build1
-rw-r--r--plugins/exec/meson.build3
-rw-r--r--plugins/fishlim/meson.build1
-rw-r--r--plugins/perl/meson.build1
-rw-r--r--plugins/sysinfo/meson.build1
-rw-r--r--plugins/upd/meson.build1
-rw-r--r--plugins/winamp/meson.build1
7 files changed, 8 insertions, 1 deletions
diff --git a/plugins/checksum/meson.build b/plugins/checksum/meson.build
index 25835457..e3008f75 100644
--- a/plugins/checksum/meson.build
+++ b/plugins/checksum/meson.build
@@ -3,4 +3,5 @@ shared_module('checksum', 'checksum.c',
   install: true,
   install_dir: plugindir,
   name_prefix: '',
+  vs_module_defs: 'checksum.def',
 )
diff --git a/plugins/exec/meson.build b/plugins/exec/meson.build
index 3f9e8a32..782814da 100644
--- a/plugins/exec/meson.build
+++ b/plugins/exec/meson.build
@@ -1,5 +1,6 @@
 shared_module('exec', 'exec.c',
   dependencies: hexchat_plugin_dep,
   install: true,
-  install_dir: plugindir
+  install_dir: plugindir,
+  vs_module_defs: 'exec.def',
 )
diff --git a/plugins/fishlim/meson.build b/plugins/fishlim/meson.build
index 65ccc9ea..232c9a33 100644
--- a/plugins/fishlim/meson.build
+++ b/plugins/fishlim/meson.build
@@ -19,4 +19,5 @@ shared_module('fishlim', fishlim_sources,
   install: true,
   install_dir: plugindir,
   name_prefix: '',
+  vs_module_defs: 'fishlim.def',
 )
diff --git a/plugins/perl/meson.build b/plugins/perl/meson.build
index 06ffd54b..ebcf35bb 100644
--- a/plugins/perl/meson.build
+++ b/plugins/perl/meson.build
@@ -88,4 +88,5 @@ shared_module('perl',
   install_dir: plugindir,
   install_rpath: perl_rpath,
   name_prefix: '',
+  vs_module_defs: 'perl.def',
 )
diff --git a/plugins/sysinfo/meson.build b/plugins/sysinfo/meson.build
index 7e2cdb6c..08f08c2c 100644
--- a/plugins/sysinfo/meson.build
+++ b/plugins/sysinfo/meson.build
@@ -57,4 +57,5 @@ shared_module('sysinfo', sysinfo_sources,
   install: true,
   install_dir: plugindir,
   name_prefix: '',
+  vs_module_defs: 'sysinfo.def',
 )
diff --git a/plugins/upd/meson.build b/plugins/upd/meson.build
index 7ab9d830..68217b31 100644
--- a/plugins/upd/meson.build
+++ b/plugins/upd/meson.build
@@ -5,4 +5,5 @@ shared_module('upd', 'upd.c',
   install: true,
   install_dir: plugindir,
   name_prefix: '',
+  vs_module_defs: 'upd.def',
 )
diff --git a/plugins/winamp/meson.build b/plugins/winamp/meson.build
index b07e7071..8d298651 100644
--- a/plugins/winamp/meson.build
+++ b/plugins/winamp/meson.build
@@ -3,4 +3,5 @@ shared_module('winamp', 'winamp.c',
   install: true,
   install_dir: plugindir,
   name_prefix: '',
+  vs_module_defs: 'winamp.def',
 )