One more change for issue 9807, by Matthias Klose.
This adds $ABIFLAGS to the static library, since it should match the shared
library name. Also, include the abiflags in python-config --libs.
diff --git a/Misc/python.pc.in b/Misc/python.pc.in
index 08481a9..23b933a 100644
--- a/Misc/python.pc.in
+++ b/Misc/python.pc.in
@@ -8,6 +8,6 @@
Requires:
Version: @VERSION@
Libs.private: @LIBS@
-Libs: -L${libdir} -lpython@VERSION@
+Libs: -L${libdir} -lpython@VERSION@@ABIFLAGS@
Cflags: -I${includedir}/python@VERSION@