Commit c82c1d06 authored by Denis Bilenko's avatar Denis Bilenko

setup.py: do not run 'make' if Makefile is not available

parent 052d7150
......@@ -125,8 +125,9 @@ if ares_embed:
def make(done=[]):
if not done:
if os.system('make'):
sys.exit(1)
if os.path.exists('Makefile'):
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