1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

waf: ensure that MAKEFLAGS is set before parsing it

This commit is contained in:
Andrew Tridgell 2011-03-15 13:56:46 +11:00
parent 500c854f79
commit 1404a9fe72

View File

@ -473,6 +473,8 @@ def CHECK_MAKEFLAGS(bld):
if not 'WAF_MAKE' in os.environ:
return
makeflags = os.environ.get('MAKEFLAGS')
if makeflags is None:
return
jobs_set = False
# we need to use shlex.split to cope with the escaping of spaces
# in makeflags