Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/remmina_plugin_native.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/remmina_plugin_native.c b/src/remmina_plugin_native.c
index 928440b0e..a5b9682e9 100644
--- a/src/remmina_plugin_native.c
+++ b/src/remmina_plugin_native.c
@@ -63,7 +63,13 @@ gboolean remmina_plugin_native_load(RemminaPluginService* service, const char* n
GModule* module;
RemminaPluginEntryFunc entry;
- module = g_module_open(name, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
+ //Python plugins cannot be lazy loaded, so hande their loading seperately
+ if (strstr(name, "remmina-plugin-python_wrapper") != NULL ){
+ module = g_module_open(name, 0);
+ }
+ else{
+ module = g_module_open(name, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
+ }
if (!module)
{