nodejs: force python interpreter
authorSamuel Martin <s.martin49@gmail.com>
Mon, 14 Apr 2014 22:09:48 +0000 (00:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Apr 2014 21:18:00 +0000 (23:18 +0200)
commit40218a16526946f35dab0d05f379f71a01f29530
treec45708c5739803d8addb3d526309a07dfb846fef
parentbde585518e305e8dac19c1b0541ca2ae9ba65e91
nodejs: force python interpreter

nodejs build system is based on python, and it does not support python3.

This patch makes sure python2 is used for the build.

Note that, setting PYTHON=... at configure time or in the make
environment is not enough to override all the hard-coded python call, so
we have to sed some python scripts to avoid being screwed.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nodejs/nodejs.mk