From 40cac739c26129fee15b4c2fa696d5f490982239 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 2 Nov 2002 20:58:05 +0000 Subject: [PATCH] Fix SF # 551504, python -v sometimes fails to find init (HPUX) Joseph Winston recommends removing DYNAMIC_PATH, since it can cause some dynamic libraries to not load on HP-UX 11. --- Python/dynload_hpux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c index 6aef796f11..b4de08146c 100644 --- a/Python/dynload_hpux.c +++ b/Python/dynload_hpux.c @@ -29,7 +29,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, flags = BIND_FIRST | BIND_DEFERRED; if (Py_VerboseFlag) { - flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE | + flags = BIND_FIRST | BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE; printf("shl_load %s\n",pathname); } -- 2.40.0