# 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
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`?


<!-- gh-linked-prs -->
### Linked PRs
* gh-119738
* gh-119797
<!-- /gh-linked-prs -->

`pkg-config` files (`.pc`) conflict between default and free-threaded build
This is a GitHub Issue
repo:cpython
owner:python
Title : `pkg-config` files (`.pc`) conflict between default and free-threaded build
Issue date:

--- start body ---
# 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
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`?


<!-- gh-linked-prs -->
### Linked PRs
* gh-119738
* gh-119797
<!-- /gh-linked-prs -->

--- end body ---
