2
0
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:
Rene Rivera
2007-10-20 16:35:58 +00:00
parent 11e109fd10
commit eca89170ac

View File

@@ -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 ] ;