From 1179f97c2da95f78da2b5601f95ce28ec13cd7f2 Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Mon, 1 Apr 2024 13:29:50 +0300 Subject: [PATCH] Update configure.py Co-authored-by: Stefan Stojanovic --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 8f47595856ddc1..c456c47be8c406 100755 --- a/configure.py +++ b/configure.py @@ -2274,7 +2274,7 @@ def make_bin_override(): print_verbose("running: \n " + " ".join(['python', 'tools/gyp_node.py'] + gyp_args)) run_gyp(gyp_args) -if sys.platform == 'win32': +if options.compile_commands_json and sys.platform == 'win32': os.path.isfile('./compile_commands.json') and os.unlink('./compile_commands.json') shutil.copy2('./out/' + config['BUILDTYPE'] + '/compile_commands.json', './compile_commands.json') info('configure completed successfully')