glib python tools have full python path in shebang, limits to 128 characters
If you try building a package that uses the glib python tools (like glib-mkenums for example), and your python binary full path is longer than 128 characters, the script will fail to run, as the kernel truncates the maximum shebang size to 128 characters.
Both buildroot and openembedded encountered this issue: http://lists.openembedded.org/pipermail/openembedded-core/2017-October/143211.html http://lists.busybox.net/pipermail/buildroot/2018-July/225694.html
The attached patch simply uses python instead of the @PYTHON@ macro replacement.