Check-in [e46c4439b2]
Overview
Comment:Deal with LIB files better
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e46c4439b242aad8c4c2cc4266a8a38c626d2330
User & Date: rkeene on 2019-06-19 18:36:13
Other Links: manifest | tags
Context
2019-06-19
18:39
Correctly setup pkg-config check-in: 3f0396eb30 user: rkeene tags: trunk
18:36
Deal with LIB files better check-in: e46c4439b2 user: rkeene tags: trunk
18:35
Disable EXTERN always since we always link directly to libtcl or through its stubs table check-in: 5dfcc7bdbd user: rkeene tags: trunk
Changes

Modified common/common.sh from [5c91dc1965] to [00b0b4f987].

272
273
274
275
276
277
278


279
280











281
282
283
284
285
286
287
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300







+
+


+
+
+
+
+
+
+
+
+
+
+







}

function preinstall() {
	:
}

function install() {
	local filename newFilename

	mkdir -p "${installdir}/lib" || return 1
	${MAKE:-make} tcllibdir="${installdir}/lib" TCL_PACKAGE_PATH="${installdir}/lib" "${make_extra[@]}" install || return 1

	# Rename ".LIB" files to ".a" files which KitCreator expects elsewhere
	find "${installdir}/lib" -type f -iname '*.lib' -o -iname '*.lib.linkadd' | while IFS='' read -r filename; do
		case "${filename}" in
			*.[Dd][Ll][Ll].[Ll][Ii][Bb])
				continue
				;;
		esac
		newFilename="$(echo "${filename}" | sed 's@\.lib$@.a@i;s@\.lib\.linkadd$@.a.linkadd@')"
		mv "${filename}" "${newFilename}"
	done
}

function postinstall() {
	:
}

function createruntime() {