diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py
index 7bbdd8c..847a75f 100644
a
|
b
|
def load(args, optargs = None, defaults = '%{_sbdir}/defaults.mc', logfile = Tru |
609 | 609 | sbdir = command_path), |
610 | 610 | command_path) |
611 | 611 | |
| 612 | print("%s" % os.name) |
612 | 613 | overrides = None |
613 | 614 | if os.name == 'nt': |
614 | 615 | try: |
… |
… |
def load(args, optargs = None, defaults = '%{_sbdir}/defaults.mc', logfile = Tru |
621 | 622 | elif os.name == 'posix': |
622 | 623 | uname = os.uname() |
623 | 624 | try: |
| 625 | print("%s" % uname[0]) |
624 | 626 | if uname[0].startswith('MINGW64_NT'): |
625 | 627 | import windows |
626 | 628 | overrides = windows.load() |
627 | 629 | host_windows = True |
| 630 | if uname[0].startswith('MSYS_NT'): |
| 631 | import windows |
| 632 | overrides = windows.load() |
| 633 | host_windows = True |
628 | 634 | elif uname[0].startswith('CYGWIN_NT'): |
629 | 635 | import windows |
630 | 636 | overrides = windows.load() |
diff --git a/source-builder/sb/windows.py b/source-builder/sb/windows.py
index f4eb85c..a958750 100644
a
|
b
|
def load(): |
54 | 54 | _uname = os.uname() |
55 | 55 | if _uname[0].startswith('MINGW'): |
56 | 56 | pass |
| 57 | elif _uname[0].startswith('MSYS'): |
| 58 | pass |
57 | 59 | elif _uname[0].startswith('CYGWIN'): |
58 | 60 | hosttype = _uname[4] |
59 | 61 | uname = 'cygwin' |