We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e36753 commit 5c2c893Copy full SHA for 5c2c893
1 file changed
Modules/_ctypes/callproc.c
@@ -1516,7 +1516,7 @@ static void *libsystem_b_handle;
1516
static bool (*_dyld_shared_cache_contains_path)(const char *path);
1517
1518
__attribute__((constructor)) void load_dyld_shared_cache_contains_path(void) {
1519
- libsystem_b_handle = dlopen("/usr/lib/libSystem.B.dylib", RTLD_LAZY);
+ libsystem_b_handle = dlopen("/usr/lib/libSystem.B.dylib", RTLD_LAZY | RTLD_GLOBAL);
1520
if (libsystem_b_handle != NULL) {
1521
_dyld_shared_cache_contains_path = dlsym(libsystem_b_handle, "_dyld_shared_cache_contains_path");
1522
}
0 commit comments