summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBiswapriyo Nath <nathbappai@gmail.com>2022-01-11 21:51:52 +0530
committerPatrick <tingping@tingping.se>2022-01-11 17:26:31 -0600
commit9c7109b57869881660fefeaf98a10b7911118117 (patch)
tree9b76b8985b6d5605def65cc4f7add9453a5c14cc
parentd936b653ac0c6c265f676f5b92a8da2375b59402 (diff)
meson: Fix exported functions for python plugin
This fixes loading python plugin in Windows by exporting functions using
python.def file. Otherwise, hexchat_plugin_init symbol error is shown.
-rw-r--r--plugins/python/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/python/meson.build b/plugins/python/meson.build
index 5fd7ec2f..1e9b41ad 100644
--- a/plugins/python/meson.build
+++ b/plugins/python/meson.build
@@ -28,4 +28,5 @@ shared_module('python', python3_source,
   install: true,
   install_dir: plugindir,
   name_prefix: '',
+  vs_module_defs: 'python.def'
 )