Windows native build fixes.

The testing of building on Windows is done using MSYS2.
This commit is contained in:
Chris Johns
2015-02-07 17:58:17 +11:00
parent 81ccf41bc0
commit d4eb08f55a
8 changed files with 37 additions and 16 deletions

View File

@@ -104,7 +104,7 @@ def path_check(opts, silent = False):
if not silent:
log.notice('error: environment PATH contains an empty path')
return False
elif p.strip() == '.' or p.strip() == '..':
elif not options.host_windows and (p.strip() == '.' or p.strip() == '..'):
if not silent:
log.notice('error: environment PATH invalid path: %s' % (p))
return False