Closed
Description
Bug report
If you install the default and free-threaded build to the same prefix, some files conflict and will get overwritten by the most recent install:
modified: bin/idle3.13
modified: bin/pydoc3.13
modified: bin/python3.13
typechange: bin/python3.13-config
modified: lib/pkgconfig/python-3.13-embed.pc
modified: lib/pkgconfig/python-3.13.pc
The most problematic of these are the pkg-config
files:
diff --git a/lib/pkgconfig/python-3.13-embed.pc b/lib/pkgconfig/python-3.13-embed.pc
index 9bc6ab5..5fc2548 100644
--- a/lib/pkgconfig/python-3.13-embed.pc
+++ b/lib/pkgconfig/python-3.13-embed.pc
@@ -9,5 +9,5 @@ Description: Embed Python into an application
Requires:
Version: 3.13
Libs.private: -ldl -framework CoreFoundation
-Libs: -L${libdir} -lpython3.13
-Cflags: -I${includedir}/python3.13
+Libs: -L${libdir} -lpython3.13t
+Cflags: -I${includedir}/python3.13t
diff --git a/lib/pkgconfig/python-3.13.pc b/lib/pkgconfig/python-3.13.pc
index c206220..519f20f 100644
--- a/lib/pkgconfig/python-3.13.pc
+++ b/lib/pkgconfig/python-3.13.pc
@@ -10,4 +10,4 @@ Requires:
Version: 3.13
Libs.private: -ldl -framework CoreFoundation
Libs: -L${libdir}
-Cflags: -I${includedir}/python3.13
+Cflags: -I${includedir}/python3.13t
Maybe the pkg-config files for the free-threaded build should be called python-3.13t.pc
and python-3.13t-embed.pc
?