2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-19 04:02:14 +00:00

fix building with free threaded python (#476)

This commit is contained in:
Zhang Wen
2025-12-05 00:29:24 +08:00
committed by GitHub
parent d637a7c265
commit 125be3e86c

View File

@@ -561,6 +561,11 @@ local rule compute-default-paths ( target-os : version ? : prefix ? :
else
{
local default-include-path = $(prefix)/include/python$(version) ;
if ! [ path.exists $(default-include-path) ] && [ path.exists $(default-include-path)t ]
{
default-include-path = $(default-include-path)t ;
}
if ! [ path.exists $(default-include-path) ] && [ path.exists $(default-include-path)m ]
{
default-include-path = $(default-include-path)m ;