Skip to content

Commit 634edc8

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix clang compiler detection on Windows
2 parents 0e1fbf9 + 58628e0 commit 634edc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/build/confutils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3137,7 +3137,7 @@ function toolset_get_compiler_name(short)
31373137
var command = 'cmd /c ""' + PHP_CL + '" -v"';
31383138
var full = execute(command + '" 2>&1"');
31393139

3140-
ERROR(full.split(/\n/)[0].replace(/\s/g, ' '));
3140+
return full.split(/\n/)[0].replace(/\s/g, ' ');
31413141
}
31423142

31433143
WARNING("Unsupported toolset");

0 commit comments

Comments
 (0)