This commit is contained in:
Waf Project 2024-01-12 14:07:30 +01:00
parent 5122ef89f2
commit 97a54d72da
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ def find_binary(self, filenames, exts, paths):
for ext in exts:
exe_name = f + ext
if os.path.isabs(exe_name):
if os.path.isfile(exe_name) and os.access(x, os.X_OK):
if os.path.isfile(exe_name) and os.access(exe_name, os.X_OK):
return exe_name
else:
for path in paths: