diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-06-25 21:30:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-06-25 21:30:32 (GMT) |
commit | 25a30f2db04d9d60b0279cbeab73acaeb42aa1ca (patch) | |
tree | 9b2691582da27d225dd173e0de0fac7266875dfd /generic/tclLoad.c | |
parent | a6691785d8bdaa339449e8df532a8b11a8690909 (diff) | |
download | tcl-25a30f2db04d9d60b0279cbeab73acaeb42aa1ca.zip tcl-25a30f2db04d9d60b0279cbeab73acaeb42aa1ca.tar.gz tcl-25a30f2db04d9d60b0279cbeab73acaeb42aa1ca.tar.bz2 |
Tweak TIP #590 impl on MacOS: Shared library could start with capital
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r-- | generic/tclLoad.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c index ed2be03..7ea1ebd 100644 --- a/generic/tclLoad.c +++ b/generic/tclLoad.c @@ -344,7 +344,11 @@ Tcl_LoadObjCmd( pkgGuess += 3; } #endif /* __CYGWIN__ */ - if ((pkgGuess[0] == 't') && (pkgGuess[1] == 'c') + if (((pkgGuess[0] == 't') +#ifdef MAC_OSX_TCL + || (pkgGuess[0] == 'T') +#endif + ) && (pkgGuess[1] == 'c') && (pkgGuess[2] == 'l')) { pkgGuess += 3; } |