diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py index 071e25d93b..69a8d9567b 100644 --- a/build/bakefiles/wxwin.py +++ b/build/bakefiles/wxwin.py @@ -11,9 +11,10 @@ import utils # 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): -def __noopSubst(func, opt): - return '$(%s)' % opt.name +def __noopSubst(func, name): + return '$(%s)' % name utils.addSubstituteCallback('CFG', __noopSubst) +utils.addSubstituteCallback('LIBDIRNAME', __noopSubst) def mk_wxid(id):