]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct the order of check-abidump (GH-27230)
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Sun, 18 Jul 2021 15:53:14 +0000 (16:53 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Jul 2021 15:53:14 +0000 (16:53 +0100)
The check was backwards so we were not correctly detecting removals.

Makefile.pre.in

index 2b6857103188330d5028072cd07a31a59b1a8056..6ce7a614dce23825d5a175102295023ebe452297 100644 (file)
@@ -762,7 +762,7 @@ regen-abidump: all
        @$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
 
 check-abidump: all
-               abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types --no-architecture --no-added-syms
+               abidiff $(srcdir)/Doc/data/python$(LDVERSION).abi "libpython$(LDVERSION).so" --drop-private-types --no-architecture --no-added-syms
 
 ############################################################################
 # Regenerate all generated files