diff --git a/configure.py b/configure.py index f5b04924695559..3431508b36aa55 100755 --- a/configure.py +++ b/configure.py @@ -2253,7 +2253,7 @@ def make_bin_override(): gyp_args += ['-Dpython=' + python] if options.use_ninja: - gyp_args += ['-f', 'ninja-' + flavor] + gyp_args += ['-f', 'ninja-' + flavor, '-G', 'config=' + config['BUILDTYPE']] elif flavor == 'win' and sys.platform != 'msys': gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto'] else: