|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2007-10-20 12:35:58
Author: grafik
Date: 2007-10-20 12:35:58 EDT (Sat, 20 Oct 2007)
New Revision: 40215
URL: http://svn.boost.org/trac/boost/changeset/40215
Log:
Do not refer to nonexistent target when python is not configured.
Text files modified:
trunk/tools/build/v2/tools/python.jam | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/python.jam
==============================================================================
--- trunk/tools/build/v2/tools/python.jam (original)
+++ trunk/tools/build/v2/tools/python.jam 2007-10-20 12:35:58 EDT (Sat, 20 Oct 2007)
@@ -989,7 +989,11 @@
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 ] ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk