summaryrefslogtreecommitdiffstats
path: root/scons/mslib_sa.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-04-16 21:41:01 +0100
committerJosé Fonseca <[email protected]>2009-04-17 09:49:41 +0100
commit56c2cd7ae2a4324bc191a680c2429add1a5a1644 (patch)
tree81ce103a8ed8e2ba23293592608fb53fd3a80c38 /scons/mslib_sa.py
parent189db329caba805f4ae9ab28c675f37565fd4c9c (diff)
scons: Cleanup.
Diffstat (limited to 'scons/mslib_sa.py')
-rw-r--r--scons/mslib_sa.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scons/mslib_sa.py b/scons/mslib_sa.py
index c5ebdec273f..50d47ee37bd 100644
--- a/scons/mslib_sa.py
+++ b/scons/mslib_sa.py
@@ -118,12 +118,10 @@ def generate(env):
if env.Detect('lib'):
env['AR'] = 'lib'
- elif env.Detect('link'):
+ else:
# Recent WINDDK versions do not ship with lib.
env['AR'] = 'link /lib'
env['TEMPFILE'] = TempFileMunge
- else:
- raise SCons.Errors.InternalError, "lib and link not found"
env['ARFLAGS'] = SCons.Util.CLVar('/nologo')
env['ARCOM'] = "${TEMPFILE('$AR $ARFLAGS /OUT:$TARGET $SOURCES')}"
env['LIBPREFIX'] = ''