Skip to content

Commit 3c5c2eb

Browse files
add exe extention to frozen_module, so it doesnt get built every run
1 parent d424c44 commit 3c5c2eb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ Programs/_freeze_module.o: Programs/_freeze_module.c Makefile
15481548

15491549
Modules/getpath_noop.o: $(srcdir)/Modules/getpath_noop.c Makefile
15501550

1551-
Programs/_freeze_module: Programs/_freeze_module.o Modules/getpath_noop.o $(LIBRARY_OBJS_OMIT_FROZEN)
1551+
Programs/_freeze_module$(EXE): Programs/_freeze_module.o Modules/getpath_noop.o $(LIBRARY_OBJS_OMIT_FROZEN)
15521552
$(LINKCC) $(PY_CORE_LDFLAGS) -o $@ Programs/_freeze_module.o Modules/getpath_noop.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS)
15531553

15541554
# We manually freeze getpath.py rather than through freeze_modules

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ AS_VAR_IF([cross_compiling], [yes],
191191
],
192192
[
193193
dnl internal build tools also depend on Programs/_freeze_module and _bootstrap_python.
194-
FREEZE_MODULE_BOOTSTRAP='./Programs/_freeze_module'
195-
FREEZE_MODULE_BOOTSTRAP_DEPS="Programs/_freeze_module"
194+
FREEZE_MODULE_BOOTSTRAP='./Programs/_freeze_module$(EXE)'
195+
FREEZE_MODULE_BOOTSTRAP_DEPS="Programs/_freeze_module\$(EXE)"
196196
FREEZE_MODULE='$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py'
197197
FREEZE_MODULE_DEPS="_bootstrap_python \$(srcdir)/Programs/_freeze_module.py"
198198
PYTHON_FOR_BUILD_DEPS='$(BUILDPYTHON)'

0 commit comments

Comments
 (0)