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:
@@ -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) ] ;
|
||||
|
||||
Reference in New Issue
Block a user