diff --git a/build.py b/build.py index 8b24cf0..15c4f34 100644 --- a/build.py +++ b/build.py @@ -67,13 +67,13 @@ wchar_updated_builds = [] for settings, options, env_vars, build_requires, reference in builder.items: # wchar_t option - if settings['compiler'] == 'Visual Studio' and not options.get('NAME_OF_THIS_PACKAGE_DONT_LEAVE_UNMODIFIED:pybind', False): + if settings['compiler'] == 'Visual Studio' and not options.get('xmsstamper:pybind', False): wchar_options = dict(options) - wchar_options.update({'NAME_OF_THIS_PACKAGE_DONT_LEAVE_UNMODIFIED:wchar_t': 'typedef'}) + wchar_options.update({'xmsstamper:wchar_t': 'typedef'}) wchar_updated_builds.append([settings, wchar_options, env_vars, build_requires]) elif settings['compiler'] == 'Visual Studio': wchar_options = dict(options) - wchar_options.update({'NAME_OF_THIS_PACKAGE_DONT_LEAVE_UNMODIFIED:wchar_t': 'builtin'}) + wchar_options.update({'xmsstamper:wchar_t': 'builtin'}) wchar_updated_builds.append([settings, wchar_options, env_vars, build_requires]) else: wchar_updated_builds.append([settings, options, env_vars, build_requires])