Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
2009-05-02 Chris Toshok <toshok@ximian.com>
Browse files Browse the repository at this point in the history
	* plugin-proxy.cpp (load): add RTLD_GLOBAL to real_plugin,
	otherwise we can't call mono_config_parse_memory from the plugin
	loader (since it doesn't link to libmono directly).


svn path=/branches/moon/1.9.0/moon/; revision=133415
  • Loading branch information
Chris Toshok committed May 2, 2009
1 parent eae1e58 commit 230f30d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions plugin/ChangeLog
@@ -1,3 +1,9 @@
2009-05-02 Chris Toshok <toshok@ximian.com>

* plugin-proxy.cpp (load): add RTLD_GLOBAL to real_plugin,
otherwise we can't call mono_config_parse_memory from the plugin
loader (since it doesn't link to libmono directly).

2009-05-02 Rusty Howell <rhowell@novell.com>

* plugin-proxy.cpp: Detect which libmoonloader we are (xpi or sys)
Expand Down
2 changes: 1 addition & 1 deletion plugin/plugin-proxy.cpp
Expand Up @@ -124,7 +124,7 @@ load (void)
}
}

void *real_plugin = dlopen (plugin_path, RTLD_LAZY);
void *real_plugin = dlopen (plugin_path, RTLD_LAZY | RTLD_GLOBAL);

// Must dllmap moonplugin, otherwise it doesn't know where to get it
char* plugin_config = g_strdup_printf("<?xml version=\"1.0\" encoding=\"utf-8\"?><configuration><dllmap dll=\"moonplugin\" target=\"%s\" /></configuration>",plugin_path);
Expand Down

0 comments on commit 230f30d

Please sign in to comment.