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  +#! /bin/bash
            2  +
            3  +if [ "${KITTARGET}" != "kitdll" ]; then
            4  +	exit 0
            5  +fi
            6  +
            7  +if [ "${KITCREATOR_STATIC_KITDLL}" != '1' ]; then
            8  +	exit 0
            9  +fi
           10  +
           11  +# For a static KitDLL we are linking directly to the object
           12  +# so there is nothing external.
           13  +sed 's/define EXTERN .*/define EXTERN/' generic/tcl.h > generic/tcl.h.new
           14  +cat generic/tcl.h.new > generic/tcl.h
           15  +rm -f generic/tcl.h.new