gcc: consider link when detecting compilers (#45169)

This commit is contained in:
Massimiliano Culpo
2024-07-12 11:30:56 +02:00
committed by GitHub
parent 9c8846b37b
commit 568e79a1e3

View File

@@ -561,9 +561,6 @@ def filter_detected_exes(cls, prefix, exes_in_prefix):
]
if any(x in basename for x in substring_to_be_filtered):
continue
# Filter out links in favor of real executables
if os.path.islink(exe):
continue
result.append(exe)