mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Also check for m-suffixed python include folder (#4)
* src/tools/python.jam
(compute-default-paths): When the python include folder without any
suffix does not exist, but one with a m-suffix does, use the latter
This commit is contained in:
@@ -547,7 +547,13 @@ local rule compute-default-paths ( target-os : version ? : prefix ? :
|
||||
}
|
||||
else
|
||||
{
|
||||
includes ?= $(prefix)/include/python$(version) ;
|
||||
local default-include-path = $(prefix)/include/python$(version) ;
|
||||
if ! [ path.exists $(default-include-path) ] && [ path.exists $(default-include-path)m ]
|
||||
{
|
||||
default-include-path = $(default-include-path)m ;
|
||||
}
|
||||
|
||||
includes ?= $(default-include-path) ;
|
||||
|
||||
local lib = $(exec-prefix)/lib ;
|
||||
libraries ?= $(lib)/python$(version)/config $(lib) ;
|
||||
|
||||
Reference in New Issue
Block a user