Skip to content
Browse files

bpo-21536: Revert Makefile change on python-config (GH-12971)

Misc/ lives in the build directory, not in the source
  • Loading branch information
vstinner committed Apr 26, 2019
1 parent ad0daf5 commit 01f073f5e43329547471c846c37e23157255e30a
Showing with 3 additions and 1 deletion.
  1. +3 −1
@@ -1460,7 +1460,9 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c
$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt

python-config: $(srcdir)/Misc/ $(srcdir)/Misc/
# bpo-21536: Misc/ is generated in the build directory
# from $(srcdir)Misc/
python-config: $(srcdir)/Misc/ Misc/
@ # Substitution happens here, as the completely-expanded BINDIR
@ # is not available in configure
sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/ >

0 comments on commit 01f073f

Please sign in to comment.
You can’t perform that action at this time.