win32 test portability fixes (Anthony Roach)
[scons.git] / test / RANLIB.py
index 14708e01ee03059e0cab572ee255e2ba387bc3b6..04a084f12f321c400698fc0e86b5e889e178d11f 100644 (file)
@@ -39,7 +39,7 @@ else:
 
 test = TestSCons.TestSCons()
 
-ranlib = test.where_is('ranlib')
+ranlib = test.detect('RANLIB', 'ranlib')
 
 test.no_result(not ranlib)