summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadShl.c
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2001-04-09 23:09:57 (GMT)
committerkennykb <kennykb@noemail.net>2001-04-09 23:09:57 (GMT)
commitb7289494c62324f7aad2032f84712b29e63dbb19 (patch)
treea0ba6edca98daf46e278d7b8466b83e8d3c480f1 /unix/tclLoadShl.c
parent58e67b7e353c4b9e3f7cdca4a99b4ed1afc408da (diff)
downloadtcl-b7289494c62324f7aad2032f84712b29e63dbb19.zip
tcl-b7289494c62324f7aad2032f84712b29e63dbb19.tar.gz
tcl-b7289494c62324f7aad2032f84712b29e63dbb19.tar.bz2
Bug #219140: Added DYNAMIC_PATH to the shl_load flags.
FossilOrigin-Name: 206145b21cb537f845e53d385edf915c6c509fb9
Diffstat (limited to 'unix/tclLoadShl.c')
-rw-r--r--unix/tclLoadShl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/tclLoadShl.c b/unix/tclLoadShl.c
index 3330919..0623986 100644
--- a/unix/tclLoadShl.c
+++ b/unix/tclLoadShl.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLoadShl.c,v 1.3 1999/04/16 00:48:04 stanton Exp $
+ * RCS: @(#) $Id: tclLoadShl.c,v 1.4 2001/04/09 23:09:58 kennykb Exp $
*/
#include <dl.h>
@@ -73,7 +73,9 @@ TclpLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr)
* when they are build."
*/
- handle = shl_load(fileName, BIND_DEFERRED|BIND_VERBOSE, 0L);
+ handle = shl_load(fileName,
+ BIND_DEFERRED|BIND_VERBOSE|DYNAMIC_PATH,
+ 0L);
if (handle == NULL) {
Tcl_AppendResult(interp, "couldn't load file \"", fileName,
"\": ", Tcl_PosixError(interp), (char *) NULL);