summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 23:15:35 +0000
committerGuido van Rossum <guido@python.org>1996-12-05 23:15:35 +0000
commitd1c5b065d7adb659553067c8e7d8c502ac1b1998 (patch)
tree10f9abadd7b7c4f162a186f74d979e1bb9589825 /Python/importdl.c
parenta75545f85beacce09f4efeae0bedb1087dd20122 (diff)
downloadcpython-d1c5b065d7adb659553067c8e7d8c502ac1b1998.tar.gz
Some extra flags that an HPUX user wants me to add.
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 234d3fa5a4..2abef33c0b 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -480,10 +480,10 @@ load_dynamic_module(name, pathname, fp)
shl_t lib;
int flags;
- flags = BIND_DEFERRED;
+ flags = BIND_FIRST | BIND_DEFERRED;
if (verbose)
{
- flags = BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE;
+ flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE;
printf("shl_load %s\n",pathname);
}
lib = shl_load(pathname, flags, 0);