60eea62380
More importantly, pull out the NetBSD diff that dealt with *BSDesque dlopen issues and, now that we have a working RTLD_DEFAULT, go with the FreeBSD hack^H^H^H^H method which works better.
22 lines
566 B
Plaintext
22 lines
566 B
Plaintext
$OpenBSD: patch-gmodule_gmodule-dl_c,v 1.1 2004/12/07 06:16:21 marcm Exp $
|
|
--- gmodule/gmodule-dl.c.orig Thu Dec 2 20:46:34 2004
|
|
+++ gmodule/gmodule-dl.c Thu Dec 2 20:47:44 2004
|
|
@@ -106,6 +106,7 @@ _g_module_open (const gchar *file_name,
|
|
static gpointer
|
|
_g_module_self (void)
|
|
{
|
|
+#ifndef __OpenBSD__
|
|
gpointer handle;
|
|
|
|
/* to query symbols from the program itself, special link options
|
|
@@ -117,6 +118,9 @@ _g_module_self (void)
|
|
g_module_set_error (fetch_dlerror (TRUE));
|
|
|
|
return handle;
|
|
+#else
|
|
+ return RTLD_DEFAULT;
|
|
+#endif
|
|
}
|
|
|
|
static void
|