]> granicus.if.org Git - python/commitdiff
Fix SF # 551504, python -v sometimes fails to find init (HPUX)
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 2 Nov 2002 20:58:05 +0000 (20:58 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 2 Nov 2002 20:58:05 +0000 (20:58 +0000)
Joseph Winston recommends removing DYNAMIC_PATH, since it can
cause some dynamic libraries to not load on HP-UX 11.

Python/dynload_hpux.c

index 6aef796f1149ffe5c693ae8e842ea3a497494907..b4de08146cf3617c32dee17295f02a47f67767ef 100644 (file)
@@ -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);
        }