Dynamically check for the existence of utilities. (sam th)
[scons.git] / src / engine / SCons / Tool / lib.py
index 9683abf73ef0ea38af05f1a5a59b514f99746fd2..477bf9eedb5d5b20763d800c5e3db4b84bd950c9 100644 (file)
@@ -43,4 +43,6 @@ def generate(env, platform):
     env['AR']          = 'lib'
     env['ARFLAGS']     = '/nologo'
     env['ARCOM']       = '$AR $ARFLAGS /OUT:$TARGET $SOURCES'
-    
+
+def exists():
+    return SCons.Util.WhereIs('lib')