diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-02-04 13:11:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-02-04 13:11:37 (GMT) |
commit | c09ddd48e3db315912a6c3797f37c0a49a2dfb6d (patch) | |
tree | 35cac6ea27c8e067614a3690742a34c02166d725 /unix/Makefile.in | |
parent | 0d69fc832e95cff706d7bb039e2ff329b8c5d202 (diff) | |
download | tcl-c09ddd48e3db315912a6c3797f37c0a49a2dfb6d.zip tcl-c09ddd48e3db315912a6c3797f37c0a49a2dfb6d.tar.gz tcl-c09ddd48e3db315912a6c3797f37c0a49a2dfb6d.tar.bz2 |
In a --disable-shared build, attach the zip-file to the executable, so "onfiledist.yml" doesn't need to do that any more
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 114f0d1..5988ba6 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -814,10 +814,15 @@ tclLibObjs: # This targets actually build the objects needed for the lib in the above case objs: ${OBJS} -${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE} +${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE} ${TCL_ZIP_FILE} ${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} \ @TCL_BUILD_LIB_SPEC@ ${TCL_STUB_LIB_FILE} ${LIBS} @EXTRA_TCLSH_LIBS@ \ ${CC_SEARCH_FLAGS} -o ${TCL_EXE} + @if test "${ZIPFS_BUILD}" = "2" ; then \ + cat ${TCL_ZIP_FILE} >> ${TCL_EXE}; \ + ${NATIVE_ZIP} -A ${TCL_EXE} \ + || echo 'ignore zip-error by adjust sfx process (not executable?)'; \ + fi # Must be empty so it doesn't conflict with rule for ${TCL_EXE} above ${NATIVE_TCLSH}: |