Skip to content

Commit 6a8aae4

Browse files
author
nnorwitz
committed
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. git-svn-id: http://svn.python.org/projects/python/trunk@29473 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 2ee1282 commit 6a8aae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/dynload_hpux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
2929

3030
flags = BIND_FIRST | BIND_DEFERRED;
3131
if (Py_VerboseFlag) {
32-
flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE |
32+
flags = BIND_FIRST | BIND_IMMEDIATE |
3333
BIND_NONFATAL | BIND_VERBOSE;
3434
printf("shl_load %s\n",pathname);
3535
}

0 commit comments

Comments
 (0)