tcl.tclPackageHook: add dontWrapTclBinaries parameter

This commit is contained in:
Francesco Gazzetta 2023-01-19 10:45:35 +01:00
parent 1337f7ba23
commit 9d9eceb7e0

View file

@ -41,6 +41,8 @@ findInstalledTclPkgs() {
# Wrap any freshly-installed binaries and set up their TCLLIBPATH
wrapTclBins() {
if [ "$dontWrapTclBinaries" ]; then return; fi
if [[ -z "${TCLLIBPATH-}" ]]; then
echo "skipping automatic Tcl binary wrapping (nothing to do)"
return