You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.1 KiB

  1. diff --git a/Makefile.pre.in b/Makefile.pre.in
  2. index ce2c0aa..7df56bf 100644
  3. --- a/Makefile.pre.in
  4. +++ b/Makefile.pre.in
  5. @@ -691,17 +691,19 @@ Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
  6. ############################################################################
  7. # Importlib
  8. +FREEZE_IMPORTLIB ?= ./Programs/_freeze_importlib
  9. +
  10. Programs/_freeze_importlib.o: Programs/_freeze_importlib.c Makefile
  11. Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN)
  12. $(LINKCC) $(PY_LDFLAGS) -o $@ Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
  13. Python/importlib_external.h: $(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib
  14. - ./Programs/_freeze_importlib \
  15. + $(FREEZE_IMPORTLIB) \
  16. $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_external.h
  17. Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib
  18. - ./Programs/_freeze_importlib \
  19. + $(FREEZE_IMPORTLIB) \
  20. $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h