diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-23 15:18:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-23 15:18:50 (GMT) |
commit | ea0a09737830604ec6a91396520427b24edced7e (patch) | |
tree | c978e475450d25ab5d14774c1972b5d783c9c233 /win | |
parent | 245784fced29eaa64faa31eed3b2800800f7001c (diff) | |
download | tcl-ea0a09737830604ec6a91396520427b24edced7e.zip tcl-ea0a09737830604ec6a91396520427b24edced7e.tar.gz tcl-ea0a09737830604ec6a91396520427b24edced7e.tar.bz2 |
Don't pack the dde/registry dll's any more for static builds. See: [https://core.tcl-lang.org/tk/tktview/939496ee1b|939496ee1b]
Diffstat (limited to 'win')
-rw-r--r-- | win/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 29179dd..5724c78 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -538,8 +538,13 @@ ${TCL_ZIP_FILE}: ${ZIP_INSTALL_OBJS} ${DDE_DLL_FILE} ${REG_DLL_FILE} @( \ $(COPY) -a $(TOP_DIR)/library/* ${TCL_VFS_PATH}; \ $(COPY) -a ${TCL_VFS_PATH}/manifest.txt ${TCL_VFS_PATH}/pkgIndex.tcl; \ - $(COPY) ${DDE_DLL_FILE} ${TCL_VFS_PATH}/dde; \ - $(COPY) ${REG_DLL_FILE} ${TCL_VFS_PATH}/registry; \ + if test "${ZIPFS_BUILD}" != "2" ; then \ + $(COPY) ${DDE_DLL_FILE} ${TCL_VFS_PATH}/dde; \ + $(COPY) ${REG_DLL_FILE} ${TCL_VFS_PATH}/registry; \ + else \ + rm -rf ${TCL_VFS_PATH}/dde; \ + rm -rf ${TCL_VFS_PATH}/registry; \ + fi \ ) (zip=`(realpath '${NATIVE_ZIP}' || readlink -m '${NATIVE_ZIP}') 2>/dev/null || \ (echo '${NATIVE_ZIP}' | sed "s?^\./?$$(pwd)/?")`; \ |