mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Do not refer to nonexistent target when python is not configured.
[SVN r40215]
This commit is contained in:
@@ -989,7 +989,11 @@ type.set-generated-target-prefix PYTHON_EXTENSION : : "" ;
|
||||
rule python-extension ( name : sources * : requirements * : default-build * :
|
||||
usage-requirements * )
|
||||
{
|
||||
requirements += <use>/python//python_for_extensions <suppress-import-lib>true ;
|
||||
if [ configured ]
|
||||
{
|
||||
requirements += <use>/python//python_for_extensions ;
|
||||
}
|
||||
requirements += <suppress-import-lib>true ;
|
||||
|
||||
local project = [ project.current ] ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user