diff options
author | Steve Dower <steve.dower@python.org> | 2021-09-15 17:11:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 17:11:12 (GMT) |
commit | 09b4ad11f323f8702cde795e345b75e0fbb1a9a5 (patch) | |
tree | fe54816a9bcabfda7e410e5d23646c0bc8e6d9a0 /Programs/_freeze_module.c | |
parent | d897579a80da3f4572d96501c41bec6cacb10d84 (diff) | |
download | cpython-09b4ad11f323f8702cde795e345b75e0fbb1a9a5.zip cpython-09b4ad11f323f8702cde795e345b75e0fbb1a9a5.tar.gz cpython-09b4ad11f323f8702cde795e345b75e0fbb1a9a5.tar.bz2 |
bpo-45188: Windows now regenerates frozen modules at the start of build instead of late (GH-28322)
This will enable us to drop the frozen module header files from the repository.
It does currently cause many source files to be built twice, which just takes more time. For whoever comes to fix this in the future, the files shared between freeze_module and pythoncore should be put into a static library that is consumed by both.
Diffstat (limited to 'Programs/_freeze_module.c')
-rw-r--r-- | Programs/_freeze_module.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Programs/_freeze_module.c b/Programs/_freeze_module.c index 7e9f02a..4b0633e 100644 --- a/Programs/_freeze_module.c +++ b/Programs/_freeze_module.c @@ -25,12 +25,7 @@ static const struct _frozen _PyImport_FrozenModules[] = { {0, 0, 0} /* sentinel */ }; -#ifndef MS_WINDOWS -/* On Windows, this links with the regular pythonXY.dll, so this variable comes - from frozen.obj. In the Makefile, frozen.o is not linked into this executable, - so we define the variable here. */ const struct _frozen *PyImport_FrozenModules; -#endif static const char header[] = "/* Auto-generated by Programs/_freeze_module.c */"; |