summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 71be3ac..3133720 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -573,7 +573,12 @@ Modules/Setup: $(srcdir)/Modules/Setup.dist
Modules/_testembed: Modules/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
+############################################################################
+# Importlib
+Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py $(srcdir)/Python/freeze_importlib.py
+ ./$(BUILDPYTHON) $(srcdir)/Python/freeze_importlib.py \
+ $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
############################################################################
# Special rules for object files
@@ -787,6 +792,7 @@ PYTHON_HEADERS= \
$(srcdir)/Include/unicodeobject.h \
$(srcdir)/Include/warnings.h \
$(srcdir)/Include/weakrefobject.h \
+ $(srcdir)/Python/importlib.h \
pyconfig.h \
$(PARSER_HEADERS)