14 lines
408 B
Plaintext
14 lines
408 B
Plaintext
$OpenBSD: patch-src_plugins_c,v 1.3 2003/01/01 21:21:01 naddy Exp $
|
|
--- src/plugins.c.orig Sat Jun 22 21:08:41 2002
|
|
+++ src/plugins.c Wed Jan 1 22:16:09 2003
|
|
@@ -794,6 +794,9 @@ install_plugin(gchar *plugin_name)
|
|
plugin_log(buf, NULL);
|
|
return NULL;
|
|
}
|
|
+#ifndef __ELF__
|
|
+#define dlsym(h,s) dlsym(h, "_" s)
|
|
+#endif
|
|
init_plugin = dlsym(handle, "init_plugin");
|
|
if ((error = dlerror()) != NULL)
|
|
{
|