Check-in [a8d337ceeb]
Overview
Comment:Fix issue statically linking packages
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a8d337ceeb48ce512b3d6f8068efb9826a964d75
User & Date: rkeene on 2023-09-08 04:29:55
Other Links: manifest | tags
Context
2023-11-23
19:57
Upgrade to Tcl/Tk 8.6.13 check-in: bf07147147 user: sbron tags: trunk
2023-09-08
04:29
Fix issue statically linking packages check-in: a8d337ceeb user: rkeene tags: trunk
2022-08-14
21:28
Use correct thread package name even if it is an alpha release check-in: 445ed79573 user: rkeene tags: trunk
Changes

Added tcl/patchscripts/fix-static-pkgs.sh version [506d8cb8fc].












1
2
3
4
5
6
7
8
9
10
11
+
+
+
+
+
+
+
+
+
+
+
#! /usr/bin/env bash

for file in pkgs/tdbcodbc*/generic/tdbcodbc.c pkgs/tdbcmysql*/generic/tdbcmysql.c; do
	if [ ! -f "${file}" ]; then
		continue
	fi

	sed 's@const.*LiteralValues@static &@' "${file}" > "${file}.new"
	cat "${file}.new" > "${file}"
	rm -f "${file}.new"
done