1diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c
2index 6d1c5fab7..b21773bca 100644
3--- a/gmodule/gmodule-dl.c
4+++ b/gmodule/gmodule-dl.c
5@@ -136,7 +136,7 @@ _g_module_open (const gchar *file_name,
6
7 lock_dlerror ();
8 handle = dlopen (file_name,
9- (bind_local ? 0 : RTLD_GLOBAL) | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
10+ (bind_local ? RTLD_LOCAL : RTLD_GLOBAL) | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
11 if (!handle)
12 {
13 const gchar *message = fetch_dlerror (TRUE);