diff --git a/Makefile.pre.in b/Makefile.pre.in index 6c1db27a6a1..f4eb01de058 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -653,7 +653,7 @@ $(srcdir)/Lib/$(PLATDIR): export PATH; PATH="`pwd`:$$PATH"; \ export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ - export EXE; EXE="$(EXE)"; \ + export EXE; EXE="$(BUILDEXE)"; \ cd $(srcdir)/Lib/$(PLATDIR); ./regen # Install the include files