summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-16 21:36:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-16 21:36:35 (GMT)
commit19eed13203a2bb09f90d8463b63803d1b2eaf2cb (patch)
tree0a606bf481d97fe941c21feceb6ae1e3d65ce2d6 /unix/tclLoadDyld.c
parent59c3e3eaf55c2e579958d9b7cf47622f0c76b064 (diff)
downloadtcl-19eed13203a2bb09f90d8463b63803d1b2eaf2cb.zip
tcl-19eed13203a2bb09f90d8463b63803d1b2eaf2cb.tar.gz
tcl-19eed13203a2bb09f90d8463b63803d1b2eaf2cb.tar.bz2
bug-3216070
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 08d651c..a03bbda 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -196,7 +196,7 @@ TclpDlopen(
if (tclMacOSXDarwinRelease >= 8)
#endif
{
- dlHandle = dlopen(nativePath, RTLD_NOW | RTLD_GLOBAL);
+ dlHandle = dlopen(nativePath, RTLD_NOW | RTLD_LOCAL);
if (!dlHandle) {
/*
* Let the OS loader examine the binary search path for whatever
@@ -206,7 +206,7 @@ TclpDlopen(
fileName = Tcl_GetString(pathPtr);
nativeFileName = Tcl_UtfToExternalDString(NULL, fileName, -1, &ds);
- dlHandle = dlopen(nativeFileName, RTLD_NOW | RTLD_GLOBAL);
+ dlHandle = dlopen(nativeFileName, RTLD_NOW | RTLD_LOCAL);
}
if (dlHandle) {
TclLoadDbgMsg("dlopen() successful");