diff options
author | Steven Knight <knight@baldmt.com> | 2004-12-29 21:04:56 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-12-29 21:04:56 (GMT) |
commit | a2b119edf2fdd972c426f08f9898fb2efbe36646 (patch) | |
tree | 12b6722f049211b37574477e82ab5c49a0521052 /test/Repository | |
parent | 9113805b081ef58fdf56bd5b5a9be6afad0b7a41 (diff) | |
download | SCons-a2b119edf2fdd972c426f08f9898fb2efbe36646.zip SCons-a2b119edf2fdd972c426f08f9898fb2efbe36646.tar.gz SCons-a2b119edf2fdd972c426f08f9898fb2efbe36646.tar.bz2 |
Add a Memoizer metaclass to collect the logic for caching values in one location. Convert by-hand caching to use of Memoizer. (Kevin Quick)
Diffstat (limited to 'test/Repository')
-rw-r--r-- | test/Repository/LIBPATH.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Repository/LIBPATH.py b/test/Repository/LIBPATH.py index 96b198e..4b249e5 100644 --- a/test/Repository/LIBPATH.py +++ b/test/Repository/LIBPATH.py @@ -49,7 +49,7 @@ def write_LIBDIRFLAGS(env, target, source): pre = env.subst('$LIBDIRPREFIX') suf = env.subst('$LIBDIRSUFFIX') f = open(str(target[0]), 'wb') - for arg in string.split(env.subst('$_LIBDIRFLAGS')): + for arg in string.split(env.subst('$_LIBDIRFLAGS', target=target)): if arg[:len(pre)] == pre: arg = arg[len(pre):] if arg[-len(suf):] == suf: |