Overview
| Artifact ID: | 659567891fa29978123e10e373575ce4dadb3066fa2bbd767e5b2cfc408d915d |
|---|---|
| Ticket: | 9cdb0d585883311b2acc9577820e90713968c1cb
unix/Makefile.in problem when building pkgs for static builds |
| User & Date: | dgp on 2026-10-21 18:05:34 |
Changes
- icomment:
The purpose of the `make *packages` targets in Tcl's unix Makefile is to make installable builds of the bundled collection of packages that can then successfully be [package require]d or [load]ed into the Tcl built by the same Makefile. Forcing the --enable-shared build is intentional to achieve this aim. Back when it made a difference, forcing --enable-threads had similar justification. I believe in Tcl 9 we can drop that since we require thread-enabled code for everything now. The Tcl+pkgs source code distribution contains the full source code releases of all the packages. Anyone who needs a --disable-shared build of one of those packages is welcome to do that by directly working within the package's source directory and using its own configuration and build mechanism. I strongly prefer we do not enable that control in Tcl's unix/Makefile. If you choose to build one of the bundled packages through the Tcl+pkgs collection, then you get the build configuration suitable for Tcl+pkgs installation.
- login: "dgp"
- mimetype: "text/plain"