summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Python/dynload_shlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/src/Python/dynload_shlib.c')
-rw-r--r--contrib/tools/python3/src/Python/dynload_shlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/python3/src/Python/dynload_shlib.c b/contrib/tools/python3/src/Python/dynload_shlib.c
index 3c5fd83df58..6761bba4579 100644
--- a/contrib/tools/python3/src/Python/dynload_shlib.c
+++ b/contrib/tools/python3/src/Python/dynload_shlib.c
@@ -75,7 +75,7 @@ _PyImport_FindSharedFuncptr(const char *prefix,
return NULL;
}
- dlopenflags = _PyInterpreterState_GET()->dlopenflags;
+ dlopenflags = _PyImport_GetDLOpenFlags(_PyInterpreterState_GET());
handle = dlopen(pathname, dlopenflags);