2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00

Fix Configure.autoconfig='clobber' when no previous configuration is present

This commit is contained in:
Thomas Nagy 2017-09-09 17:49:48 +02:00
parent b722f1dda0
commit 7f7f336e9f
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA

View File

@ -626,7 +626,8 @@ def autoconfigure(execute_method):
cmd = env.config_cmd or 'configure'
if Configure.autoconfig == 'clobber':
tmp = Options.options.__dict__
Options.options.__dict__ = env.options
if env.options:
Options.options.__dict__ = env.options
try:
run_command(cmd)
finally: