Mercurial > audlegacy
diff audacious/pluginenum.c @ 833:d17d96d91e7d trunk
[svn] - improve the way the scrobbler plugin is compiled
- use G_MODULE_BIND_LAZY to safely bind plugins dependant on
libaudacious, some libdl implementations hate doing this otherwise
| author | nenolod |
|---|---|
| date | Mon, 13 Mar 2006 19:29:55 -0800 |
| parents | 12c47704b4b5 |
| children | 0bb30ec2bce9 |
line wrap: on
line diff
--- a/audacious/pluginenum.c Mon Mar 13 14:18:03 2006 -0800 +++ b/audacious/pluginenum.c Mon Mar 13 19:29:55 2006 -0800 @@ -199,7 +199,7 @@ if (plugin_is_duplicate(filename)) return; - if (!(module = g_module_open(filename, 0))) { + if (!(module = g_module_open(filename, G_MODULE_BIND_LAZY))) { printf("Failed to load plugin (%s): %s\n", filename, g_module_error()); return;
