Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3afb595

Browse files
committed
Some extra flags that an HPUX user wants me to add.
1 parent b0c168c commit 3afb595

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/importdl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,10 @@ load_dynamic_module(name, pathname, fp)
480480
shl_t lib;
481481
int flags;
482482

483-
flags = BIND_DEFERRED;
483+
flags = BIND_FIRST | BIND_DEFERRED;
484484
if (verbose)
485485
{
486-
flags = BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE;
486+
flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE;
487487
printf("shl_load %s\n",pathname);
488488
}
489489
lib = shl_load(pathname, flags, 0);

0 commit comments

Comments
 (0)