Changeset 31742


Ignore:
Timestamp:
2012-05-15T22:04:07+02:00 (6 years ago)
Author:
jow
Message:

[tools] scons: wrap python invocations with helper script that attempts to find a non-3.x python

Location:
trunk/tools/scons
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/scons/Makefile

    r31618 r31742  
    2424 
    2525define Host/Install 
    26         python $(HOST_BUILD_DIR)/setup.py install --prefix=$(STAGING_DIR_HOST) 
     26        ./files/pywrap.sh $(HOST_BUILD_DIR)/setup.py install --prefix=$(STAGING_DIR_HOST) 
     27        rm -f $(STAGING_DIR_HOST)/bin/scons*.py 
     28        for bin in $(STAGING_DIR_HOST)/bin/scons*; do \ 
     29                mv "$$$$bin" "$$$$bin.py";                \ 
     30                cp ./files/pywrap.sh "$$$$bin";           \ 
     31        done 
    2732endef 
    2833 
Note: See TracChangeset for help on using the changeset viewer.