diff options
author | Steven Knight <knight@baldmt.com> | 2003-04-30 19:38:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-04-30 19:38:19 (GMT) |
commit | 3387eab42442c7fe7ed0064de5b939497cc6df1b (patch) | |
tree | 3c34e3c08fe379c147c7166067d05a0a87fccaa6 /test/long-lines.py | |
parent | 212d77d88aa4374ef13f2e6bc7edf3395ac9736c (diff) | |
download | SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.zip SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.gz SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.bz2 |
Test portability fixes for Cygwin. (Chad Austin)
Diffstat (limited to 'test/long-lines.py')
-rw-r--r-- | test/long-lines.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/long-lines.py b/test/long-lines.py index 3999f62..9d38504 100644 --- a/test/long-lines.py +++ b/test/long-lines.py @@ -32,13 +32,20 @@ import TestSCons test = TestSCons.TestSCons() -if sys.platform in ['win32', 'cygwin']: +if sys.platform == 'win32': lib_static_lib = 'static.lib' lib_shared_dll ='shared.dll' arflag_init = '/LIBPATH:' + test.workpath() arflag = ' /LIBPATH:' + test.workpath() linkflag_init = '/LIBPATH:' + test.workpath() linkflag = ' /LIBPATH:' + test.workpath() +elif sys.platform == 'cygwin': + lib_static_lib = 'libstatic.a' + lib_shared_dll ='shared.dll' + arflag_init = 'r' + arflag = 'o' + linkflag_init = '-L' + test.workpath() + linkflag = ' -L' + test.workpath() else: lib_shared_dll = 'libshared.so' lib_static_lib = 'libstatic.a' |