@@ -5991,7 +5991,9 @@ eof
59915991
59925992fi
59935993
5994- if ${vi_cv_dll_name_python+: } false ; then :
5994+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking Python's dll name" >&5
5995+ $as_echo_n " checking Python's dll name... " >&6 ; }
5996+ if ${vi_cv_dll_name_python+: } false ; then :
59955997 $as_echo_n " (cached) " >&6
59965998else
59975999
@@ -6002,7 +6004,8 @@ else
60026004 fi
60036005
60046006fi
6005-
6007+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $vi_cv_dll_name_python " >&5
6008+ $as_echo " $vi_cv_dll_name_python " >&6 ; }
60066009
60076010 PYTHON_LIBS=" ${vi_cv_path_python_plibs} "
60086011 if test " ${vi_cv_path_python_pfx} " = " ${vi_cv_path_python_epfx} " ; then
@@ -6320,7 +6323,9 @@ eof
63206323
63216324fi
63226325
6323- if ${vi_cv_dll_name_python3+: } false ; then :
6326+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking Python3's dll name" >&5
6327+ $as_echo_n " checking Python3's dll name... " >&6 ; }
6328+ if ${vi_cv_dll_name_python3+: } false ; then :
63246329 $as_echo_n " (cached) " >&6
63256330else
63266331
@@ -6331,7 +6336,8 @@ else
63316336 fi
63326337
63336338fi
6334-
6339+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $vi_cv_dll_name_python3 " >&5
6340+ $as_echo " $vi_cv_dll_name_python3 " >&6 ; }
63356341
63366342 PYTHON3_LIBS=" ${vi_cv_path_python3_plibs} "
63376343 if test " ${vi_cv_path_python3_pfx} " = " ${vi_cv_path_python3_epfx} " ; then
@@ -6473,7 +6479,7 @@ else
64736479 int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
64746480 {
64756481 int needed = 0;
6476- void* pylib = dlopen(python_instsoname, RTLD_LAZY);
6482+ void* pylib = dlopen(python_instsoname, RTLD_LAZY|RTLD_LOCAL );
64776483 if (pylib != 0)
64786484 {
64796485 void (*pfx)(char *home) = dlsym(pylib, "Py_SetPythonHome");
@@ -6539,7 +6545,7 @@ else
65396545 int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
65406546 {
65416547 int needed = 0;
6542- void* pylib = dlopen(python_instsoname, RTLD_LAZY);
6548+ void* pylib = dlopen(python_instsoname, RTLD_LAZY|RTLD_LOCAL );
65436549 if (pylib != 0)
65446550 {
65456551 void (*pfx)(wchar_t *home) = dlsym(pylib, "Py_SetPythonHome");
0 commit comments