f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
13 lines
496 B
Diff
13 lines
496 B
Diff
diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c
|
|
index 6d1c5fab7..b21773bca 100644
|
|
--- a/gmodule/gmodule-dl.c
|
|
+++ b/gmodule/gmodule-dl.c
|
|
@@ -136,7 +136,7 @@ _g_module_open (const gchar *file_name,
|
|
|
|
lock_dlerror ();
|
|
handle = dlopen (file_name,
|
|
- (bind_local ? 0 : RTLD_GLOBAL) | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
|
|
+ (bind_local ? RTLD_LOCAL : RTLD_GLOBAL) | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
|
|
if (!handle)
|
|
{
|
|
const gchar *message = fetch_dlerror (TRUE);
|