diff --git a/configure.py b/configure.py index 9a478c5f983a51..2cb81f200c7194 100755 --- a/configure.py +++ b/configure.py @@ -2116,6 +2116,8 @@ def make_bin_override(): if options.compile_commands_json: gyp_args += ['-f', 'compile_commands_json'] + os.path.islink('./compile_commands.json') and os.unlink('./compile_commands.json') + os.symlink('./out/' + config['BUILDTYPE'] + '/compile_commands.json', './compile_commands.json') # override the variable `python` defined in common.gypi if bin_override is not None: