[lld] r206940 - winlib should be lib.exe, not just lib.
    Filipe Cabecinhas 
    me at filcab.net
       
    Tue Apr 22 21:38:14 PDT 2014
    
    
  
Author: filcab
Date: Tue Apr 22 23:38:13 2014
New Revision: 206940
URL: http://llvm.org/viewvc/llvm-project?rev=206940&view=rev
Log:
winlib should be lib.exe, not just lib.
This avoids setting the winlib feature on machines with a lib dir in a
$PATH dir.
Modified:
    lld/trunk/test/lit.cfg
Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=206940&r1=206939&r2=206940&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Tue Apr 22 23:38:13 2014
@@ -151,6 +151,6 @@ rc = lit.util.which('rc', config.environ
 if cvtres and rc:
     config.available_features.add('winres')
 
-# Check if "lib" command exists.
-if lit.util.which('lib', config.environment['PATH']):
+# Check if "lib.exe" command exists.
+if lit.util.which('lib.exe', config.environment['PATH']):
     config.available_features.add('winlib')
    
    
More information about the llvm-commits
mailing list