From a7b07f8d80c77b530128344e12923bff32db2275 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Thu, 27 Jun 2013 12:53:07 +0000 Subject: [PATCH] Only try to translate PYTHONPATH for windows/cygwin. It's not implemented for cross compilation. [SVN r84908] --- src/tools/python.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/python.jam b/src/tools/python.jam index d48bb7838..2681bb960 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -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) ] ;