Commit 786ae5f2 authored by Ralf Schmitt's avatar Ralf Schmitt

set PYTHON before running make

this forces make to choose the same python executable that is running
setup.py.  if PYTHON is already set, don't overwrite it.
parent b9c9034b
......@@ -126,6 +126,8 @@ if ares_embed:
def make(done=[]):
if not done:
if os.path.exists('Makefile'):
if "PYTHON" not in os.environ:
os.environ["PYTHON"] = sys.executable
if os.system('make'):
sys.exit(1)
done.append(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment