]>
Commit | Line | Data |
---|---|---|
84cd6e0c VS |
1 | |
2 | # We use 'COMPILER_PREFIX' option in places where bakefile doesn't like it, so | |
3 | # we must register a substitution function for it that provides additional | |
4 | # knowledge about the option (in this case that it does not contain dir | |
5 | # separators and so utils.nativePaths() doesn't have to do anything with it): | |
6 | ||
7 | from utils import addSubstituteCallback | |
8 | ||
9 | def __noopSubst(name, func, caller): | |
10 | return '$(%s)' % name | |
11 | addSubstituteCallback('COMPILER_PREFIX', __noopSubst) |