waf: Fix version.py to support older versions of git.

This commit is contained in:
Chris Johns
2019-02-13 10:50:50 +11:00
parent 5d8b0ddd0a
commit d721375610
2 changed files with 35 additions and 17 deletions

View File

@@ -44,6 +44,7 @@ def options(opt):
docs_waf.cmd_options(opt)
def configure(conf):
conf.find_program('git')
for b in building:
conf.recurse(b)
conf.env['BUILD_FROM_TOP'] = 'yes'