Define 'make' program via an environment variable
This commit is contained in:
parent
1aea8fdc22
commit
e4b9f89a68
3
setup.py
3
setup.py
|
@ -28,7 +28,8 @@ else:
|
|||
"The $SRHT_PATH environment variable points to an invalid "
|
||||
"directory: {}".format(srht_path))
|
||||
|
||||
subp = subprocess.run(["make", "SRHT_PATH=" + srht_path])
|
||||
make = os.environ.get("MAKE", "make")
|
||||
subp = subprocess.run([make, "SRHT_PATH=" + srht_path])
|
||||
if subp.returncode != 0:
|
||||
sys.exit(subp.returncode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue