diff options
author | Steven Knight <knight@baldmt.com> | 2003-11-10 16:13:15 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-11-10 16:13:15 (GMT) |
commit | 8de5ae79c1f6096683ee125b38b2e2d7525b7f07 (patch) | |
tree | 386f3ae3eac37497adf92f1a1539cd9f7ce13bd3 /etc | |
parent | 9dd1434a94d2472b6f6d2956eb2b3e422d251a75 (diff) | |
download | SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.zip SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.tar.gz SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.tar.bz2 |
Use sys.stdout.write() instead of print so line feeds in -j output will stay (more) consistent. Fix suffix-handling on case-insensitive Cygwin systems. Test fixes for Cygwin portability. (Chad Austin)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/TestSCons.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/etc/TestSCons.py b/etc/TestSCons.py index e0139f9..1ce60e4 100644 --- a/etc/TestSCons.py +++ b/etc/TestSCons.py @@ -50,29 +50,37 @@ if sys.platform == 'win32': _exe = '.exe' _obj = '.obj' _shobj = '.obj' - _dll = '.dll' lib_ = '' + _lib = '.lib' + dll_ = '' + _dll = '.dll' fortran_lib = gccFortranLibs() elif sys.platform == 'cygwin': _exe = '.exe' _obj = '.o' _shobj = '.os' + lib_ = 'lib' + _lib = '.a' + dll_ = '' _dll = '.dll' - lib_ = '' fortran_lib = gccFortranLibs() elif string.find(sys.platform, 'irix') != -1: _exe = '' _obj = '.o' _shobj = '.o' - _dll = '.so' lib_ = 'lib' + _lib = '.a' + dll_ = 'lib' + _dll = '.so' fortran_lib = ['ftn'] else: _exe = '' _obj = '.o' _shobj = '.os' - _dll = '.so' lib_ = 'lib' + _lib = '.a' + dll_ = 'lib' + _dll = '.so' fortran_lib = gccFortranLibs() |