As it turns out, this bug was already in the tracker: #11171
diff --git a/Misc/NEWS b/Misc/NEWS
index dfbeb4d..1ecb125 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -43,8 +43,8 @@
 Library
 -------
 
-- Fix distutils.sysconfig.get_makefile_filename when Python was configured with
-  different prefix and exec-prefix.
+- Issue #11171: Fix distutils.sysconfig.get_makefile_filename when Python was
+  configured with different prefix and exec-prefix.
 
 - Issue #11254: Teach distutils to compile .pyc and .pyo files in
   PEP 3147-compliant __pycache__ directories.