diff --git a/v2/tools/python.jam b/v2/tools/python.jam index d4a96a1f5..4ee755339 100644 --- a/v2/tools/python.jam +++ b/v2/tools/python.jam @@ -989,7 +989,11 @@ type.set-generated-target-prefix PYTHON_EXTENSION : : "" ; rule python-extension ( name : sources * : requirements * : default-build * : usage-requirements * ) { - requirements += /python//python_for_extensions true ; + if [ configured ] + { + requirements += /python//python_for_extensions ; + } + requirements += true ; local project = [ project.current ] ;