84cd6e0c68
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 lines
464 B
Python
12 lines
464 B
Python
|
|
# We use 'COMPILER_PREFIX' option in places where bakefile doesn't like it, so
|
|
# we must register a substitution function for it that provides additional
|
|
# knowledge about the option (in this case that it does not contain dir
|
|
# separators and so utils.nativePaths() doesn't have to do anything with it):
|
|
|
|
from utils import addSubstituteCallback
|
|
|
|
def __noopSubst(name, func, caller):
|
|
return '$(%s)' % name
|
|
addSubstituteCallback('COMPILER_PREFIX', __noopSubst)
|