gcc: consider link when detecting compilers (#45169)
This commit is contained in:
parent
9c8846b37b
commit
568e79a1e3
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user