summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-07 11:56:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-07 11:56:40 (GMT)
commitb8d2426e1bcc860c2c743e2baebbd9c57f117bb9 (patch)
tree520a1e17f7959578351e35bb808822eed18e8d7e /unix/Makefile.in
parent6269e32c3bc28d6bca8d70ec499e152648356f5c (diff)
downloadtcl-b8d2426e1bcc860c2c743e2baebbd9c57f117bb9.zip
tcl-b8d2426e1bcc860c2c743e2baebbd9c57f117bb9.tar.gz
tcl-b8d2426e1bcc860c2c743e2baebbd9c57f117bb9.tar.bz2
Use GetFileSizeEx() in stead of GetFileSize(), to get the file size on Windows.
Minor improvement: attach empty .zip file to tclsh.exe (both for Windows and UNIX), zo "zip -A" can be used to modify its zip contents.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 5569b44..2c005b6 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -711,6 +711,7 @@ ${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE}
${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} \
@TCL_BUILD_LIB_SPEC@ ${TCL_STUB_LIB_FILE} ${LIBS} @EXTRA_TCLSH_LIBS@ \
${CC_SEARCH_FLAGS} -o ${TCL_EXE}
+ cat ${TOOL_DIR}/empty.zip >> ${TCL_EXE}
# Must be empty so it doesn't conflict with rule for ${TCL_EXE} above
${NATIVE_TCLSH}: