diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2009-05-07 02:11:06 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2009-05-07 02:11:06 (GMT) |
commit | 0f11ce655ec68ff5290212d6c1b8ad96a3eaf776 (patch) | |
tree | ecc8004ca84c8d917abac7058f30b30c3a774310 /src/engine/SCons/SConf.py | |
parent | f380c4be82dc290726b4dfca3aa320da42ae9353 (diff) | |
download | SCons-0f11ce655ec68ff5290212d6c1b8ad96a3eaf776.zip SCons-0f11ce655ec68ff5290212d6c1b8ad96a3eaf776.tar.gz SCons-0f11ce655ec68ff5290212d6c1b8ad96a3eaf776.tar.bz2 |
Fix #1673, CheckLib should prepend rather than append.
Diffstat (limited to 'src/engine/SCons/SConf.py')
-rw-r--r-- | src/engine/SCons/SConf.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 8586402..3749e41 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -853,6 +853,11 @@ class CheckContext: self.env.Append(LIBS = lib_name_list) return oldLIBS + def PrependLIBS(self, lib_name_list): + oldLIBS = self.env.get( 'LIBS', [] ) + self.env.Prepend(LIBS = lib_name_list) + return oldLIBS + def SetLIBS(self, val): oldLIBS = self.env.get( 'LIBS', [] ) self.env.Replace(LIBS = val) |