]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Makefile: Fix missing slashes (GH-28659)
authornative-api <vano@mail.mipt.ru>
Sat, 2 Oct 2021 09:38:59 +0000 (12:38 +0300)
committerGitHub <noreply@github.com>
Sat, 2 Oct 2021 09:38:59 +0000 (11:38 +0200)
Makefile.pre.in
Misc/NEWS.d/next/Build/2021-10-01-12-20-05.bpo-0.2ykYK2.rst [new file with mode: 0644]

index 670887437360cc07acc0a9303a59a54b11ee489d..ce75af1b79c81a2b48d9298e10e2a85c86178a78 100644 (file)
@@ -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 (file)
index 0000000..a0ab4ba
--- /dev/null
@@ -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