diff options
author | das <das> | 2009-04-10 18:10:39 (GMT) |
---|---|---|
committer | das <das> | 2009-04-10 18:10:39 (GMT) |
commit | a9bb49b48e59b917e2493b99426057fdf9484e35 (patch) | |
tree | 834ad6c9640d1d5ef8203eaf432cdcddc3aa5255 /unix | |
parent | da81669adaca006923b1f2f0bbd2dc1c7e9ebf94 (diff) | |
download | tcl-a9bb49b48e59b917e2493b99426057fdf9484e35.zip tcl-a9bb49b48e59b917e2493b99426057fdf9484e35.tar.gz tcl-a9bb49b48e59b917e2493b99426057fdf9484e35.tar.bz2 |
* unix/tclLoadDyld.c: use RTLD_GLOBAL instead of RTLD_LOCAL.
[Bug 1961211]
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclLoadDyld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c index e30742b..5e330c8 100644 --- a/unix/tclLoadDyld.c +++ b/unix/tclLoadDyld.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoadDyld.c,v 1.31 2009/02/03 23:10:57 nijtmans Exp $ + * RCS: @(#) $Id: tclLoadDyld.c,v 1.32 2009/04/10 18:10:39 das Exp $ */ #include "tclInt.h" @@ -198,7 +198,7 @@ TclpDlopen( if (tclMacOSXDarwinRelease >= 8) #endif { - dlHandle = dlopen(nativePath, RTLD_NOW | RTLD_LOCAL); + dlHandle = dlopen(nativePath, RTLD_NOW | RTLD_GLOBAL); if (!dlHandle) { /* * Let the OS loader examine the binary search path for whatever @@ -208,7 +208,7 @@ TclpDlopen( fileName = Tcl_GetString(pathPtr); nativeFileName = Tcl_UtfToExternalDString(NULL, fileName, -1, &ds); - dlHandle = dlopen(nativeFileName, RTLD_NOW | RTLD_LOCAL); + dlHandle = dlopen(nativeFileName, RTLD_NOW | RTLD_GLOBAL); } if (dlHandle) { TclLoadDbgMsg("dlopen() successful"); |