[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: allow the 'python' used to run to be configured

From: Adam Williamson
Subject: Patch: allow the 'python' used to run to be configured
Date: Wed, 04 Jul 2018 10:08:53 -0700
User-agent: Evolution 3.29.3 (3.29.3-1.fc29)

A patch from Jonathan McCune back in 2015 allowed build-time
configuration of the python interpreter used in However,
this doesn't cover the whole build process, as we still have use of
'python' hardcoded into Makefile.common when running (the
script's own shebang is ignored). This patch allows you to set the make
variable 'PYTHONBIN' to change the interpreter used to run
With this, it's possible to build grub on Fedora with 'PYTHON=python3' and 'make PYTHONBIN=python3', without python2 installed at
all, and the build succeeds.
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net

Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]