|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84908 - trunk/tools/build/v2/tools
From: steven_at_[hidden]
Date: 2013-06-27 08:53:07
Author: steven_watanabe
Date: 2013-06-27 08:53:07 EDT (Thu, 27 Jun 2013)
New Revision: 84908
URL: http://svn.boost.org/trac/boost/changeset/84908
Log:
Only try to translate PYTHONPATH for windows/cygwin. It's not implemented for cross compilation.
Text files modified:
trunk/tools/build/v2/tools/python.jam | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/python.jam
==============================================================================
--- trunk/tools/build/v2/tools/python.jam Wed Jun 26 18:05:28 2013 (r84907)
+++ trunk/tools/build/v2/tools/python.jam 2013-06-27 08:53:07 EDT (Thu, 27 Jun 2013) (r84908)
@@ -1234,7 +1234,7 @@
# Oddly, host-os is not in properties, so grab the default value.
local host-os = [ feature.defaults host-os ] ;
host-os = $(host-os:G=) ;
- if $(target-os) != $(host-os)
+ if $(target-os) != $(host-os) && $(target-os) in windows cygwin && $(host-os) in windows cygwin
{
PYTHONPATH = [ sequence.transform $(host-os)-to-$(target-os)-path :
$(PYTHONPATH) ] ;
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