X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=scons%2Fmslib_sa.py;h=bdc0dd9251170f318cdeed27aa76b7b8e52f1506;hb=e30a3e7aa09c373c0a02df555d090693718f0fe8;hp=c5ebdec273f233b5655c5530702402e60d12726d;hpb=e80d1e367a25af406c7f2327646c0aa699962fe8;p=mesa.git diff --git a/scons/mslib_sa.py b/scons/mslib_sa.py index c5ebdec273f..bdc0dd92511 100644 --- a/scons/mslib_sa.py +++ b/scons/mslib_sa.py @@ -7,7 +7,7 @@ Based on SCons.Tool.mslib, without the MSVC detection. """ # -# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation +# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -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'] = '' @@ -132,4 +130,8 @@ def generate(env): def exists(env): return env.Detect('lib') or env.Detect('link') -# vim:set ts=4 sw=4 et: +# Local Variables: +# tab-width:4 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=4 shiftwidth=4: