tcl.tclPackageHook: add dontWrapTclBinaries parameter

This commit is contained in:
Francesco Gazzetta
2023-01-26 14:46:46 +01:00
parent 1337f7ba23
commit 9d9eceb7e0
@@ -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