2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

Only try to translate PYTHONPATH for windows/cygwin. It's not implemented for cross compilation.

[SVN r84908]
This commit is contained in:
Steven Watanabe
2013-06-27 12:53:07 +00:00
parent 21229a4e5b
commit a7b07f8d80

View File

@@ -1234,7 +1234,7 @@ rule capture-output ( target : sources * : properties * )
# 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) ] ;