summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authordas <das>2009-04-10 18:10:44 (GMT)
committerdas <das>2009-04-10 18:10:44 (GMT)
commitf784c4f4ae4e089942b4c72bce21ac05f50732d1 (patch)
treed1c93e77ef34b6d81c154bee1207bfd3da6d49c9 /unix/tclLoadDyld.c
parent2377665d42cfbfbb9a26848f74c7b48dc906b916 (diff)
downloadtcl-f784c4f4ae4e089942b4c72bce21ac05f50732d1.zip
tcl-f784c4f4ae4e089942b4c72bce21ac05f50732d1.tar.gz
tcl-f784c4f4ae4e089942b4c72bce21ac05f50732d1.tar.bz2
* unix/tclLoadDyld.c: use RTLD_GLOBAL instead of RTLD_LOCAL.
[Bug 1961211]
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index dd09749..c37ff1b 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.29 2007/12/13 15:28:42 dgp Exp $
+ * RCS: @(#) $Id: tclLoadDyld.c,v 1.29.2.1 2009/04/10 18:10:44 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");