From 417faa69bd48dfc22e4eff9bb2c610f53d59d02f Mon Sep 17 00:00:00 2001 From: native-api Date: Sat, 2 Oct 2021 12:38:59 +0300 Subject: [PATCH] Makefile: Fix missing slashes (GH-28659) --- Makefile.pre.in | 4 ++-- Misc/NEWS.d/next/Build/2021-10-01-12-20-05.bpo-0.2ykYK2.rst | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Build/2021-10-01-12-20-05.bpo-0.2ykYK2.rst diff --git a/Makefile.pre.in b/Makefile.pre.in index 67088743736..ce75af1b79c 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1443,13 +1443,13 @@ altbininstall: $(BUILDPYTHON) @FRAMEWORKPYTHONW@ fi; \ fi if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ - rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-32$(EXE); \ + rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-32$(EXE); \ lipo $(LIPO_32BIT_FLAGS) \ -output $(DESTDIR)$(BINDIR)/python$(VERSION)-32$(EXE) \ $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \ fi if test "x$(LIPO_INTEL64_FLAGS)" != "x" ; then \ - rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-intel64$(EXE); \ + rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-intel64$(EXE); \ lipo $(LIPO_INTEL64_FLAGS) \ -output $(DESTDIR)$(BINDIR)/python$(VERSION)-intel64$(EXE) \ $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \ diff --git a/Misc/NEWS.d/next/Build/2021-10-01-12-20-05.bpo-0.2ykYK2.rst b/Misc/NEWS.d/next/Build/2021-10-01-12-20-05.bpo-0.2ykYK2.rst new file mode 100644 index 00000000000..a0ab4baf795 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2021-10-01-12-20-05.bpo-0.2ykYK2.rst @@ -0,0 +1 @@ +Makefile: fix missing slashes in some invocations cleaning previous build results when builing a macOS universal binary. \ No newline at end of file