diff options
author | Dirk Baechle <dl9obn@darc.de> | 2012-12-18 21:27:01 +0100 |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2012-12-18 21:27:01 +0100 |
commit | 6cede4390b5abb1424e9b79f159cb9567f28bd9c (patch) | |
tree | 572754fc81a9a5239eee054407aa455ca8de5af4 /test/long-lines | |
parent | 84d3d7f420f14bf33bea7f4cfc583118731da93f (diff) | |
download | scons-6cede4390b5abb1424e9b79f159cb9567f28bd9c.tar.gz |
- fixes for MinGW under Windows, mainly skipping MSVS-specific tests
Diffstat (limited to 'test/long-lines')
-rw-r--r-- | test/long-lines/live.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/long-lines/live.py b/test/long-lines/live.py index e8b4a388..5618f55f 100644 --- a/test/long-lines/live.py +++ b/test/long-lines/live.py @@ -42,6 +42,14 @@ if sys.platform == 'win32': arflag = ' /LIBPATH:' + test.workpath() linkflag_init = '/LIBPATH:' + test.workpath() linkflag = ' /LIBPATH:' + test.workpath() + import SCons.Tool.MSCommon as msc + if not msc.msvc_exists(): + lib_shared_dll = 'shared.dll' + lib_static_lib = 'libstatic.a' + arflag_init = 'r' + arflag = 'o' + linkflag_init = '-L' + test.workpath() + linkflag = ' -L' + test.workpath() elif sys.platform == 'cygwin': lib_static_lib = 'libstatic.a' lib_shared_dll ='shared.dll' |