]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/wxpresets/presets/wx_presets.py
fix GCC warning
[wxWidgets.git] / build / bakefiles / wxpresets / presets / wx_presets.py
CommitLineData
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
7from utils import addSubstituteCallback
8
9def __noopSubst(name, func, caller):
10 return '$(%s)' % name
11addSubstituteCallback('COMPILER_PREFIX', __noopSubst)