
9 Feb
2017
9 Feb
'17
8:43 p.m.
On Thu, 2017-02-09 at 13:17 +0000, Ricardo Martins wrote:
In some Linux distributions (e.g., Arch Linux) the Python binary points to Python 3.x instead of Python 2.x. This is an issue when building the libfdt SWIG extension, as the generated extension file will be called something like _libfdt.cpython-36m-x86_64-linux-gnu.so instead of just _libfdt.so. By simply changing python to python2 in tools/Makefile this issue goes away. Should I submit a patch to fix this ?
Yes
Please include tools/binman/binman.py too as it has the same problem. I guess most python programs is python2 only so if you can find more of them, fix these too.