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 /win/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 'win/Makefile.in')
-rw-r--r-- | win/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 1412016..5706b08 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -545,11 +545,16 @@ ${TCL_ZIP_FILE}: ${ZIP_INSTALL_OBJS} ${DDE_DLL_FILE} ${REG_DLL_FILE} echo "${TCL_ZIP_FILE} successful created with $$zip" && \ cd ..) -$(TCLSH): $(TCLSH_OBJS) @LIBRARIES@ $(TCL_STUB_LIB_FILE) tclsh.$(RES) +$(TCLSH): $(TCLSH_OBJS) @LIBRARIES@ $(TCL_STUB_LIB_FILE) tclsh.$(RES) ${TCL_ZIP_FILE} $(CC) $(CFLAGS) $(TCLSH_OBJS) $(TCL_LIB_FILE) $(TCL_STUB_LIB_FILE) $(LIBS) \ tclsh.$(RES) $(CC_EXENAME) $(LDFLAGS_CONSOLE) $(COPY) tclsh.exe.manifest $(TCLSH).manifest @VC_MANIFEST_EMBED_EXE@ + @if test "${ZIPFS_BUILD}" = "2" ; then \ + cat ${TCL_ZIP_FILE} >> ${TCLSH}; \ + ${NATIVE_ZIP} -A ${TCLSH} \ + || echo 'ignore zip-error by adjust sfx process (not executable?)'; \ + fi cat32.$(OBJEXT): cat.c $(CC) -c $(CC_SWITCHES) -DUNICODE -D_UNICODE @DEPARG@ $(CC_OBJNAME) |