Check-in [39588a62db]
Overview
Comment:Updated to not mark anything as external if we are building a static KitDLL
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:39588a62db629d3b42e1dc8f3184903ce7add6d0
User & Date: rkeene on 2016-03-20 07:35:09
Other Links: manifest | tags
Context
2016-03-20
07:53
Updated to latest tcc4tcl check-in: 8ab220d43e user: rkeene tags: trunk
07:35
Updated to not mark anything as external if we are building a static KitDLL check-in: 39588a62db user: rkeene tags: trunk
07:24
Updated to support static KitDLLs on platforms that prefix symbols with an underscore check-in: f41b714e88 user: rkeene tags: trunk
Changes

Added tcl/patchscripts/static-kitdll-noextern.sh version [a32606647f].































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash

if [ "${KITTARGET}" != "kitdll" ]; then
	exit 0
fi

if [ "${KITCREATOR_STATIC_KITDLL}" != '1' ]; then
	exit 0
fi

# For a static KitDLL we are linking directly to the object
# so there is nothing external.
sed 's/define EXTERN .*/define EXTERN/' generic/tcl.h > generic/tcl.h.new
cat generic/tcl.h.new > generic/tcl.h
rm -f generic/tcl.h.new