Source

SCons / test / long-lines / live.py

Diff from to

test/long-lines/live.py

     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'