From eca89170acdf006c2f1790e2d89785dcd929d72e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Oct 2007 16:35:58 +0000 Subject: [PATCH] Do not refer to nonexistent target when python is not configured. [SVN r40215] --- v2/tools/python.jam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ] ;