Artifact 1f8fbf8b3bbc3a4fc33c300b45cd9dc8d967765f:
- File tcl/patchscripts/win32-dllmain.sh — part of check-in [4e8d261d38] at 2012-02-01 07:56:32 on branch trunk — Updated to call "/usr/bin/env" to locate "bash" in case it is not in "/bin" (user: rkeene, size: 392) [annotate] [blame] [check-ins using]
#! /usr/bin/env bash if [ "${KITTARGET}" != "kitdll" ]; then exit 0 fi ## DllMain is needed when building KitDLL for filetopatch in win/tclWin32Dll.c win/tclWinInit.c; do echo "Undefining STATIC_BUILD in \"${filetopatch}\"" sed 's@STATIC_BUILD@NEVER_STATIC_BUILD@g' "${filetopatch}" > "${filetopatch}.new" && cat "${filetopatch}.new" > "${filetopatch}" rm -f "${filetopatch}.new" done